Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I know if SELECT... finished if ESCAPEd?
Message
From
12/08/1997 21:30:09
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00043773
Message ID:
00044372
Views:
31
>Actually, there's still a problem...
>
>For ESCAPE to work, I must have SET ESCAPE ON. So now, when I press ESCAPE, I get the "Cancel, Suspend,Ignore" message.
>
>Is there a way to have the ESCAPE only apply to the SQL progress and not interrupt the entire program?
>
>Thanks again...
>
>>Glad to help //;^)
How about something like...

PROC SQLPROC
SET ESCA OFF
ON KEY LABEL ESC DO CANCSQL
*YOUR SELECT SQL STATEMENTS....
ON KEY LABEL ESC
RETURN.
.
.
PROCEDURE CANCSQL
ON KEY LABEL ESC
*SET FLAGS...ETC
RETURN TO SQLPROC
L.A.Long
ProgRes
lalong1@charter.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform