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

How do I open a database with security setup on it

Status
Not open for further replies.

Paladyr

Programmer
Apr 22, 2001
508
US
I have a database that whenever you open it, it prompts you for a user name and password. This is a security feature built into Access. Here is the way I am opening the database:

Set dbMaster = OpenDatabase("Networkpath\database97.mdb", , , "User Id=***;Password=***;")
Set dbBackup = OpenDatabase("C:\Backups\Log.mdb", , , "UID=***;PWD=***;")

Am I doing this correctly? Thanks for the help!
 
Scrap the way your doing it now. There is a feature in Access which is built in. Go on to the tools menu and then on security. Use the user level security wizard to set up accounts for your database for the different users of it. hope this is of help
Andy:-9
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top