Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Immadiate terminating of an SQL command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00047916
Message ID:
00047955
Vues:
21
>Hi everybody!
>
>Do anybody know a way with there can be terminate a long SQL select, if the user press ESC or click on a PushButton?
>I thought on a dummy function which checks user input in SQL command, but what is the command, which terminate the SQL select?
>
>select *, dummy() ...
>
>function dummy
> if
>
> endif
>return .f.
>endfunc
>
>TIA
>
>BB

Bela, just using the Escape key will stop an SQL-Select if you have SET ESCAPE ON. Just set this to ON before the SQL, and re-set to OFF afterwards if you usually have ESCAPE set to OFF.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform