TTdbTable.Key
TTdbTable
Top 


Contains the key for decrypting an encrypted table.

property Key: LongWord;

Description
Set the Key before opening the table, if it is encrypted. Encrypted tables also have a password, so you must the Password when you set the Key. If either the Password or the Key is missing or incorrect, the corresponding database component will call the OnPassword event.

When you create or alter a table at run-time, TurboDB uses the values of Key and Password to protect or encrypt the table.

Note: Don't forget the key of your table. There is no way to get it back and all the content of your table is lost.