Hi Craig
I'm not too sure either. I couldn't get the DO .. syntax to work either so I was none the wiser.
Thanks for your help anyway
Regards
Geoff Scott
>Not too sure about this, but I think the ON ESCAPE is like an interrupt handler, that is it can only be used to interrupt an existing process.
>
>running a report for example.
>
>However, ON KEY LABEL does the same thing.
>
>looking at the VFP help it looks like ON KEY LABEL can run functions but ON ESCAPE can't (i.e. must use DO .. syntax)
May all your weeds be wildflowers