>Suppose we have a loop that tests for values and includes a browse for the user to choose betweem 2 almost duplicate records. Under normal operation the user would tag the record he wants to use and press esc to move on to the next pair of records. The loop is fast and the next browse screen pops up almost immediately. This all works fine in the users environment. However in the development and testing mode I would like to exit the routine before cycling through all the records. Normally we would interrupt a loop with ESC, but in this instance the ESC just moves on to the next record pair and the next browse window.
>
>Any ideas on how to deal with this?
>
>Thanks in advance.
Have you tried just holding down the escape key? I've never seen a loop too fast that holding down the key fails:
DO WHILE .t.
brow
ENDDO
Holding down the escape eventually kills the above code too.