Hi we are moving hunderds/thousends of Access databases from one network drive to another, also the path on the drive is changing.
How can I using VB.Net (prefered) or VBA replace all old links to tables and queries with new links.
I want to browse programmaticly through a directory tree and modify all databases I find, so an external vb.net application is easier then importing and running VBA code in every database)
I do have a table which translates old path's to new paths, so I need code which does the following
1. List all the linked queuries and tables inclusing their name and filepath
2. construct the new name and filepath
3. disconnect (unlink) the old table/query
4. reconnect (link) the same table/query from the new location
Perhaps 3 and 4 can be combined if I somehow can replace the path of a linked table/query as a property.
I hope the question is a bit clear, we are working with Access 2003
How can I using VB.Net (prefered) or VBA replace all old links to tables and queries with new links.
I want to browse programmaticly through a directory tree and modify all databases I find, so an external vb.net application is easier then importing and running VBA code in every database)
I do have a table which translates old path's to new paths, so I need code which does the following
1. List all the linked queuries and tables inclusing their name and filepath
2. construct the new name and filepath
3. disconnect (unlink) the old table/query
4. reconnect (link) the same table/query from the new location
Perhaps 3 and 4 can be combined if I somehow can replace the path of a linked table/query as a property.
I hope the question is a bit clear, we are working with Access 2003