I'm using DSN-less connections to my SQL Server in an Access database. However, whenever I try to write a "Pass-Through" query and run it, a dialog box pops up asking for the DSN.
Asked
Active
Viewed 1.6k times
1 Answers
23
In SQL view, choose properties after you have selected passthrough query and insert an ODBC connect string. For example:
ODBC;DRIVER=SQL Server;SERVER=Server\Instance;Trusted_Connection=Yes;DATABASE=Test

Fionnuala
- 90,370
- 7
- 114
- 152
-
3Ahhh, under "ODBC Connect Str". How easy, but so hard to find. Thanks! – Brett G May 24 '12 at 20:07
-
Will someone explain why this is the case? Shouldn't the Query pass through easily with the DSN-less connection? – namko Dec 13 '18 at 02:47