...automate logon for Paradox tables?Author: Damian Gorski
The table component's ACTIVE property must be set to FALSE
(If it is active before you have added the pasword, you will be prompted).
Then, put this code in the handler for the form's OnCreate event:
Session.AddPassword('My secret password');
Table1.Active := True;
Once you close the table, you can remove the password with
RemovePassword('My secret password'),
or you can remove all current passwords with RemoveAllPasswords.
(Note: This is for Paradox tables only.)
developers knowledge base