camper12
asked on
Query timeout
Hi,
I have a sql query that takes 2 minutes to run. It runs fine but when I use it in VBA it gives me a query timeout error. Is there a setting that I need to change or include some code in vba.
Thanks
I have a sql query that takes 2 minutes to run. It runs fine but when I use it in VBA it gives me a query timeout error. Is there a setting that I need to change or include some code in vba.
Thanks
ASKER
I am using excel.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have look at this. Look like you can set this in Excel
https://msdn.microsoft.com/en-us/library/office/aa224907%28v=office.11%29.aspx?f=255&MSPPError=-2147217396
Kelvin
https://msdn.microsoft.com/en-us/library/office/aa224907%28v=office.11%29.aspx?f=255&MSPPError=-2147217396
Kelvin
Kelvin