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

Need password on query to linked table

Status
Not open for further replies.

BallunarCrew

Programmer
Sep 3, 2006
62
US
I have 2 databases. The main one has a linked table link to the secondary database. The secondary database has a password on it. I have a query in the main database that includes information from the linked table. I would like to prompt for the secondary database password when someone tries to run this query. Basically, the user has to know the password in order to run this one query. Everythings else in the main database is open. I have thought of putting code behind a button that runs the query that won't let them run it if there is no correct password entered but is this the easiest way?
Thanks..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top