DougStevens
Programmer
Created a MS Access project, in MS Access XP. Later found that it needs to be in MS Access 2000. So all my stored procedure that are action queries will not work through code or through a macro.
So I created a function that will run the stored procedure in VBA using a ADO Connection, and the Execute method.
With our small data set, of a few thousand records, it works fine. When we work with actual data, about a million records it gets a timeout.
I've changed the timeout to zero, or even to 300, but it always seems to timeout at about 30 to 45 seconds. I've changed it in the Tools>Options>Advance setting. I've changed it for that particular execution by setting the CommandTimeout property. It still seems to ignore it.
So I created a function that will run the stored procedure in VBA using a ADO Connection, and the Execute method.
With our small data set, of a few thousand records, it works fine. When we work with actual data, about a million records it gets a timeout.
I've changed the timeout to zero, or even to 300, but it always seems to timeout at about 30 to 45 seconds. I've changed it in the Tools>Options>Advance setting. I've changed it for that particular execution by setting the CommandTimeout property. It still seems to ignore it.