>I have a form that uses one of 20 or 30 views that query Foxpro 2.6 native tables. Which view is used is determined by which table the user wishes to search and by what criteria. I use the following syntax to either open the view with the specified criteria or Requery it.
>
>
> IF USED(srView)
> REQUERY(srView)
> ELSE
> USE (srView) IN 0
> ENDIF
>
>
>Is it possible to allow the user to hit the ESCAPE key to interrupt the command "cleanly"? I want them to be able to stop the query if they accidentally begin the search without specifying all their criteria. I set ESCAPE OFF by default in the setup program of my application.
>
>Thank you.
I think you should SET ESCAPE ON temporarily before running the query.
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)