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

Access VBA - Attach tables

Status
Not open for further replies.

LCO

Programmer
Apr 18, 2002
1
LU
hi,
I try to change the attach path with VBA in access 97.
But, I don't find the correct way.
Exemple: tables : -> c:\test\customer.dbf
change by
-> c:\test2\customer.dbf

thanks for the solution
LCO
 
I tried this using a combo box where "locat" is the new location of the dabatase

Link (Me![locat])
MsgBox "Done"

this way any tables which are linked to this db are also linked.

hope this helps

regards Leckie

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top