IF You want Your code
llpress_esc = .F.
SET ESCAPE OFF
DO WHILE NOT llpress_esc
llpress_esc = (INKEY() == 27)
......
......
ENDDO
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.