M
Matt Delfs
Hello,
I have a couple of Access databases that contain several linked tables
referring to tables on a SQL server. These linked tables appear to have
"DSNless" connections which is exactly how I want them. The problem is that
I need to add a few more linked tables in this manner and I seem to have
forgotten how I created them. I converted one of these files to Access 2003
which makes viewing the connection string a bit simpler. What I discovered
was that the "DSNless" connections had the following properties:
ODBC;Description=My Connection Description;DRIVER=SQL
Server;SERVER=MyServer;APP=Microsoft Open Database
Connectivity;WSID=MyWSID;DATABASE=MyDatabase;Trusted_Connection=Yes;
TABLE=MyTable
The linked tables that used a DSN have these properties:
ODBC;DSN=MyDSN;Description=My DSN Connection Description;APP=Microsoft
Access;WSID=myWSID;DATABASE=myDatabase;Trusted_Connection=Yes;TABLE=MyTable
To me, the key difference appears to be that the DSN connection DOES NOT
provide a driver or server definition since they are included within the DSN
that it DOES contain. Does anyone have any idea how I created the original
"DSNless" connections? I suspect that I used the Access GUI to create them,
but I just can't remember how.
Thanks,
Matt
I have a couple of Access databases that contain several linked tables
referring to tables on a SQL server. These linked tables appear to have
"DSNless" connections which is exactly how I want them. The problem is that
I need to add a few more linked tables in this manner and I seem to have
forgotten how I created them. I converted one of these files to Access 2003
which makes viewing the connection string a bit simpler. What I discovered
was that the "DSNless" connections had the following properties:
ODBC;Description=My Connection Description;DRIVER=SQL
Server;SERVER=MyServer;APP=Microsoft Open Database
Connectivity;WSID=MyWSID;DATABASE=MyDatabase;Trusted_Connection=Yes;
TABLE=MyTable
The linked tables that used a DSN have these properties:
ODBC;DSN=MyDSN;Description=My DSN Connection Description;APP=Microsoft
Access;WSID=myWSID;DATABASE=myDatabase;Trusted_Connection=Yes;TABLE=MyTable
To me, the key difference appears to be that the DSN connection DOES NOT
provide a driver or server definition since they are included within the DSN
that it DOES contain. Does anyone have any idea how I created the original
"DSNless" connections? I suspect that I used the Access GUI to create them,
but I just can't remember how.
Thanks,
Matt