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)
- Craig
"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson