TurboDB VCL Component Library Protected Database Tables See also |
Previous Top Next |
When opening protected database tables you need to provide a password. There are different ways to do this.
a) | Set the EncryptionMethod and Password property of TTdbTable before you call the Open method. |
b) | Specify an even handler for TTdbDatabase.OnPassword. This event handler will be called, when TurboDB is not able to open a database table due to protection. |
c) | Include the unit TdbPasswordDlg into your project. This unit contains a simple password dialog, which will register with the database access components and show up each time a password is required. This password dialog is the one, which is also used at design-time. |
See also
Data Security