PDA

Click to See Complete Forum and Search --> : Database password


Zxurian
Oct 8th, 2000, 12:37 PM
Anybody know the .opendatabase command series to open a database with a password?

VBonliner
Oct 8th, 2000, 02:59 PM
I share your problem!!!
I have posted the same question, but no luck yet.
I couldn't figure it out.

Hope somebody out there knows.

have a nice day.

Ober
Oct 9th, 2000, 01:20 AM
you will need two lines similar to these...

Set DB = OpenDatabase(App.Path & "\Alert.mdb", False, False, ";PWD=password")

Set RS = DB.OpenRecordset("Errors", dbOpenDynaset)


This should do it..
let me know if you have any further questions.

OberCanober@Netscape.net

Zxurian
Oct 9th, 2000, 09:27 AM
it worked. Thanks.