>
>I think you might have SET ESCAPE ON.>
>Yes, and that is the desired behavior for this application. Pressing escape closes forms, etc. in the least destructive way, i.e. without saving or not executing a selection. Is there a way of working around this?
Pressing ESC might also interrupt a running SQL statement, or any procedure, for instance.
I think you should SET ESCAPE OFF, and then specifically check for ESC in the form, and take the corresponding actions (TableRevert(), etc.).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)