How to programmatically update the ConnectionString property of all data access pages in Access 2002 (295313)
The information in this article applies to:
This article was previously published under Q295313 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
When you want to bind a data access page to another data source or to the same data source that has been moved to a new location, one way to do this is to update the ConnectionString property of a data access page. This procedure is commonly required after you deploy a Microsoft Access database that contains data access pages to another computer.
This article shows you how you can programmatically update the ConnectionString property of all data access pages in a database.
REFERENCESFor more information about the ConnectionString property of a data access page, click Microsoft Visual Basic Help on the Help menu, type connectionstring property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For additional information about programmatically setting properties and links in a data access page, click the following article numbers to view the articles in the Microsoft Knowledge Base:
295282
How to programmatically update the ConnectionFile property of all data access pages in Access 2002
295315 How to Programmatically Update Data Access Pages Links
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | AccDAP DAPHowTo kbdta kbhowto tslic_tslic KB295313 |
---|
|