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

dynamically link to SQL Server database from ACCESS

Status
Not open for further replies.

jpl458

Technical User
Sep 30, 2009
337
US
I have an ap(Access 2010, Windows 7) that needs to be run on different PC's in our domain. The Database is in SQL Server 8 and the application uses linked tables. I would like to be able to link to those SQL Server tables in vba when the application opens, and pass the user name and password so the user doesn't have to perform those tasks. I found the following:

Public Function SQLServerLinkedTableRefresh (CurrentUser, UserPwd), so I think there are commands that would let me do this, but can't find them anywhere, and find no examples.

Any help would be appreciated.

Thanks

jpl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top