Главная страница | назад





Article #16198: Supressing Password Dialog for tables

 Question and Answer Database
FAQ1198C.txt Supressing Password Dialog for tables
Category :Data Components
Platform :All
Product :C++Builder 1.x
Question:
How do I get the password dialog box to not show when I open a
password protected table?
Answer:
Simply supply the Session object with the password you want to
add before you open the table:
Session->AddPassword ("PASSWORD");
Once you close the table, you can remove the password with
Session->RemovePassword("PASSWORD")
or you can remove all current passwords with
Session->RemoveAllPasswords();
(Note: This is for Paradox tables only)
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99