I could really use some VB Access 2000 code to create an ODBC link to a MS SQL database. We have 9 SQL db's, that run many of the same reports, this code will help out a great deal in streamling reporting.
I've looked at TableDefs and other methods but am lost on how to proceed.
Please do not suggest creating a link table like tblA-db1, tblA-db2, etc. and then run queries by changing the db1 to db2, then run the queries for the other db's, thats just to simple of a solution that I have already tried to suggest.
Code to create ODBC links to a SQL db is needed here. Thanks ahead of time for any help, its greatly appreciated.
I've looked at TableDefs and other methods but am lost on how to proceed.
Please do not suggest creating a link table like tblA-db1, tblA-db2, etc. and then run queries by changing the db1 to db2, then run the queries for the other db's, thats just to simple of a solution that I have already tried to suggest.
Code to create ODBC links to a SQL db is needed here. Thanks ahead of time for any help, its greatly appreciated.