Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to allow sqlexec() to be interrupted
Message
 
 
To
23/05/2006 12:35:22
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01123932
Message ID:
01124340
Views:
24
Andrus,

You can only interrupt it once the result set has started being passed back. If you are running a query or calling an SP that takes a long time to create the result set you are stuck. Unless you go to an asynchronous connection that you have to poll during the execution. You can call SQLCancel() to interrupt it.

>Thank you. Adding SET ESCAPE ON before SQLEXEC() causes message to appear.
>However, Esc key does not cancel SQLEXEC() !
>I have no idea why.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform