Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I can not stop a SELECT SQL
Message
From
01/11/2002 15:04:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
01/11/2002 15:01:58
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00717996
Message ID:
00717997
Views:
14
>Can I stop an SELECT SQL sentece ?
>Would you help me with this ?
>Thanks

I think you would temporarily SET ESCAPE ON. Then, the user can interrupt with ESC. I am not sure exactly how to check whether the user pressed ESC or not, and this is an important detail.

You could also try to optimize your queries. For instance, dividing a 9-table SELECT (for a report) into several commands reduced the time over a network from 50 seconds, to 2 seconds.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform