|
-
Oct 18th, 2000, 11:21 AM
#1
Thread Starter
Member
I am running a query, and i want to stop the query if it taking longer than 20 seconds.
Does anyone know how i can do this?
Any info would be great.
-
Oct 18th, 2000, 03:11 PM
#2
Frenzied Member
Use a command object and set the CommandTimeout property
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Oct 19th, 2000, 02:32 PM
#3
Thread Starter
Member
Ok, well bascially what i wanna do is stop the query.
If its takes longer than 20 seconds, i want a message box to pop up, and ask if the would like to contineu processing the query. if they click yes, it continues, if no, then will cancel it.
any ideas how to do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|