Forum Discussion
thedong
Jun 12, 2024Copper Contributor
MS Access passthrough query performs very slow when executing a stored procedure
I have a passthrough query in my Access frontend that I use to import data from a sql server db. I work with MS 365 MSO Version 2302 32 Bit. Before executing the passthrough query I pass the connecti...
George_Hepworth
Jun 12, 2024Silver Contributor
Show us the entire procedure, not just this snippet, please.
- thedongJun 12, 2024Copper ContributorThe error occurs on the statement Set rstDAO = qdf.OpenRecordset. But the timeout occurs also when executing the PT query manually, so I don't think the VBA Code is relevant. The exact same EXEC statement is executed without problems in SSMS with the same user.