Hi Dennis,
IF your code are running a loop, you can try to place the following code to your code:
nKey = INKEY(.1)
IF nKey <> 0
EXIT
ENDIF
>All my code runs in the open tables method of my report. Suppose I want to quit the report at some point, How do I do that?
>
>dennis
Benn Kjaer
MS Certified Professional - Visual Foxpro
"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"