boblovesyousomuch
Programmer
Hello,
On startup of my form run Access 97 database I currently check that the linked tables i have to other databases connect successfully.
I also have a few tables that I link via a ODBC connection using a DSN called "CallDB". I has a username and password to access it.
What I want to do is to automatically connect to the tables in this database by supplying the username/password, if it doesn't connect properly an error message is caused.
I have seen some examples but can't seem to get what I want.
Thanks
Carl
On startup of my form run Access 97 database I currently check that the linked tables i have to other databases connect successfully.
I also have a few tables that I link via a ODBC connection using a DSN called "CallDB". I has a username and password to access it.
What I want to do is to automatically connect to the tables in this database by supplying the username/password, if it doesn't connect properly an error message is caused.
I have seen some examples but can't seem to get what I want.
Thanks
Carl