TNguyen Posted May 14, 2009 Posted May 14, 2009 (edited) How to connect MS Access 2003 when Persist Security Info=True; ? This my code: #cs db name: db.mdb UID: Admin Pass: 123456 #ce $dbName="db.mdb" $adoConn = ObjCreate("ADODB.Connection") $adoConn("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & $dbName & "; Persist Security Info=True; User ID=Admin; Password=123456;") $sql_insert = "insert into info(firstName,lastName) values('Nguyen','Hoang Tu')" $adoConn.Execute($sql_insert) $adoConn.Close Exit Thanks! Download Attachment Connect_MSAccess2003.zip Edited May 14, 2009 by TNguyen
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now