When working in the VFP IDE with a "SET ESCAPE ON" in effect, I am able to interrupt a long SELECT SQL statement, but it doesn't work when running the compiled EXE version.
Actually, I'm surprised it even worked in the IDE. My understanding is that VFP will wait for the current command to finish before acting on the ESC key. At least, that's true when you are running from a PRG or method; it might be different if you run the SELECT from the command window.
You might try experimenting with ON ESCAPE. I'm not certain, but I think that will execute as soon as ESC is pressed, rather than waiting until the end of the command.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.