How To Change Logon Information for Access Linked Tables at Run Time with ADOX (297963)
The information in this article applies to:
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.5 SP1
- Microsoft Data Access Components 2.6
This article was previously published under Q297963 SUMMARY
In some applications, if you use Microsoft Jet databases that contain tables that are linked to external data sources through ODBC, you may want to provide the logon name and password of the current user at run time to connect to the remote data source.
To accomplish this, Microsoft ADO Extensions for DDL and Security (ADOX) exposes a read/write property on Microsoft Access linked tables ("Jet OLEDB:Link Provider String") that allows you to modify the connection string in code and add the necessary authentication information.
REFERENCES
For an alternative to this technique, click the article number below to view the article in the Microsoft Knowledge Base:
245587 How To Supply User Authentication When Opening Jet Linked Tables
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbDatabase kbhowto kbJET KB297963 |
---|
|