Matt_Hirst
Access Numpty
- Local time
- Today, 07:44
- Joined
- Nov 25, 2006
- Messages
- 15
I have been given the task of updating an old databse that I wrote about 2 years ago. Basicly the database updated anumber of linked MySQL tables to allow a group of analysts easy access to the data.
The new/updated database needs to look at a new version of software that uses mysql 5.0. Now I updated the code to use the correct odbc driver and got it to update the linked tables all well and good, but the problem now is that the MySQL database holds 150 odd new tables that need linking in the Access databse and I am wondering what is the best way to do things.
Options:
* Is it better to just have the database auto load a form that lists the available mysql databases on the system the user then picks the database and it autolinks the tables in the access database.
or
*Is it better to start with the database that is half populated and search throught he mysql database and when a new table is found only that table is added?
Questions I have are:
* Is it possible to list the databases that are held on the host server? If so how?
* How do I interogate the database to find out what tables are held?
* How do I create a linked table in code?
Any help would be appreciated.
regards,
Matt
The new/updated database needs to look at a new version of software that uses mysql 5.0. Now I updated the code to use the correct odbc driver and got it to update the linked tables all well and good, but the problem now is that the MySQL database holds 150 odd new tables that need linking in the Access databse and I am wondering what is the best way to do things.
Options:
* Is it better to just have the database auto load a form that lists the available mysql databases on the system the user then picks the database and it autolinks the tables in the access database.
or
*Is it better to start with the database that is half populated and search throught he mysql database and when a new table is found only that table is added?
Questions I have are:
* Is it possible to list the databases that are held on the host server? If so how?
* How do I interogate the database to find out what tables are held?
* How do I create a linked table in code?
Any help would be appreciated.
regards,
Matt