Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to allow sqlexec() to be interrupted
Message
 
 
À
23/05/2006 12:35:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01123932
Message ID:
01124340
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform