Hi All,
Posted on here a few days ago regarding connecting from Access to SQL without ODBC. Thanks to the replies I discovered ADODB and I now do not need to set up 200 ODBC connections. Or so I thought.
Unfortunately there is one further problem....
I have used ADODB to create the connections without using an ODBC connection.
This works fine when using code to create SQL Strings and run them.
However I also use a main pass through query for the reports and just dynamically chane the procedure it points to depending on whet report is requested.
This pass through Query has the following line in the properties
ODBC;DSN=CCR;Description=CCR;UID=a999157;DATABASE=CCR;Trusted_Connection=Yes
What I need to know is if there is any other way to get the query to connect without this line in the properties.
The field is actually called ODBC connect String so I am not sure there is any other way.
If anyone has any ideas can you please please reply to this.
Thank you so much
Posted on here a few days ago regarding connecting from Access to SQL without ODBC. Thanks to the replies I discovered ADODB and I now do not need to set up 200 ODBC connections. Or so I thought.
Unfortunately there is one further problem....
I have used ADODB to create the connections without using an ODBC connection.
This works fine when using code to create SQL Strings and run them.
However I also use a main pass through query for the reports and just dynamically chane the procedure it points to depending on whet report is requested.
This pass through Query has the following line in the properties
ODBC;DSN=CCR;Description=CCR;UID=a999157;DATABASE=CCR;Trusted_Connection=Yes
What I need to know is if there is any other way to get the query to connect without this line in the properties.
The field is actually called ODBC connect String so I am not sure there is any other way.
If anyone has any ideas can you please please reply to this.
Thank you so much