Hi,
I have several Access db's setup, all using linked tables back to a MySQL db server on the network. So effectively, MS Access is the frontend with MySQL providing the backend.
One problem I've always had when modifying existing MS Access frontends is that I'm typically having to work with production backend data. To develop within a test environment would require me to replace all the linked tables with links to the test server tables and then re-link back to the production tables when ready to move to production. This is a pain and time consuming so I generally end up working with test data on the production database.
Does anyone know of a quick way to point linked tables from one server to another and back? Is there VBA syntax to script the setup of linked tables and delete existing ones? That would at least allow me to write a routine which might take a while to write but at least I could then run it whenever I need to switch from one environment (Prod / Test) to another.
Any help would be appreciated.
Thanks,
Dave
I have several Access db's setup, all using linked tables back to a MySQL db server on the network. So effectively, MS Access is the frontend with MySQL providing the backend.
One problem I've always had when modifying existing MS Access frontends is that I'm typically having to work with production backend data. To develop within a test environment would require me to replace all the linked tables with links to the test server tables and then re-link back to the production tables when ready to move to production. This is a pain and time consuming so I generally end up working with test data on the production database.
Does anyone know of a quick way to point linked tables from one server to another and back? Is there VBA syntax to script the setup of linked tables and delete existing ones? That would at least allow me to write a routine which might take a while to write but at least I could then run it whenever I need to switch from one environment (Prod / Test) to another.
Any help would be appreciated.
Thanks,
Dave