General information
Category:
Coding, syntax & commands
Uh, well, no...
I used to use this in Clipper, too!
Guess I had a "memory error" there for a minute, thanks for the feedback.
>Have you tried using..."IF LASTKEY()=27..."?
>
>>I have a built-up command as follows:
>>
>>cCommand = 'SELECT * FROM WHERE'
>>cCommand = cCommand + ' THIS_TEST '
>>cCommand = cCommand + ' THAT_TEST '
>>cCommand = cCommand + ' INTO CURSOR MyCursor'
>>
>>Then I run it using &cCommand But I allow the user to ESCAPE out of the process if they wish. How do I know if the SELECT statement finished or if it was aborted? I don't know beforehand, how many records to expect so I cannot test reccount(), is there another way?
>>
>>I've used ON ESCAPE DO CancelSQL, then set a flag in CancelSQL but this requires a seperate procedure file. I was hoping to simply test a system variable or something like that.
>>
>>Thanks in advance
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only