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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Database Login 1

Status
Not open for further replies.

anujkmehrotra

Programmer
Jan 21, 2012
17
0
0
Hi,

I have BE (pwd secured), but i have to login it every time when i open it. i set a fixed database password "Password" in it, so i want it to open automatically when i open it directly not from FE, but when someone tries to import or Link BE, it should ask database password.

Can anyone tell me that is there any code or way to login automatically (Database Password) BE while opening it?

Thanks & Regards,
Anuj
 
for Access 2002-2003 and earlier you can use a command line switch to supply the password
Shortcut example:
Code:
"c:\program files\microsoft office\office12\msaccess.exe"  "c:\My Folder\My Database.mdb" /pwd password

see for a full listing of switches

HTH << MaZeWorX >> "I have not failed I have only found ten thousand ways that don't work" <<Edison>>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top