Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DAO JET connection access password

Status
Not open for further replies.

dominiopt

Technical User
Sep 10, 2001
75
0
0
PT
Hi everybody, please someone help me with this.
Why this code are given error ?

'DAO example with JET connection

Set ws = DBEngine.Workspaces(0)
Set db = ws.OpenDatabase(App.Path & "\dbFile.mdb", "; pwd = pass ")

Thanks
Fernando
 
Hi
I don't use DAO but this works with ADODB connections

"Jet OLEDB:Database Password=mypassword"

if the password is set at database level

Good Luck

Phil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top