Hi,
I am using Access 2007 to connect to one of two SQL databases via ODBC. One is our live database on a network server and the other is the test database (stored at the moment on my laptop). Both SQL databases are using either SQL 2005 or SQL 2005 Express.
My problem is trying to write some VBA to query which of the 2 servers is being used at the time so that I can display the server name on the initial Access form.
Any idea's on how to do this?
Thanks
Dean
I am using Access 2007 to connect to one of two SQL databases via ODBC. One is our live database on a network server and the other is the test database (stored at the moment on my laptop). Both SQL databases are using either SQL 2005 or SQL 2005 Express.
My problem is trying to write some VBA to query which of the 2 servers is being used at the time so that I can display the server name on the initial Access form.
Any idea's on how to do this?
Thanks
Dean