bitterpumpkins
Programmer
HI
i'm having problem wif connecting data environment during runtime to password protected database. I have entered the password during the design time for the data environment and it connects well. However, when i close that particular connection(during run time), and using the same statement (as i used when i first run the system), connect again, the system generates the msg "invalid password". If the database isnt protected with password, everything works ok.
the statement im now using is;
myDataEnv.myConn.Open App.Path + "\database\myDatabase.mdb
i'm wondering if there is any additional parameter needed for the password (for this second time), and if so, how is the command like? sumbody pls help? thx a lot!
i'm having problem wif connecting data environment during runtime to password protected database. I have entered the password during the design time for the data environment and it connects well. However, when i close that particular connection(during run time), and using the same statement (as i used when i first run the system), connect again, the system generates the msg "invalid password". If the database isnt protected with password, everything works ok.
the statement im now using is;
myDataEnv.myConn.Open App.Path + "\database\myDatabase.mdb
i'm wondering if there is any additional parameter needed for the password (for this second time), and if so, how is the command like? sumbody pls help? thx a lot!