>How do you gracefully handle the situation when a user presses ESC while a SPT query is executing? On Escape, On Key Label Esc and even Set Escape Off are ignored as are Set Talk Off and just about everthing else I can think of. I don't mind if the query stops but the "Called from..." messages from echoing to the form are unsightly.
Try to issue
SET NOTIFY OFF
SET TALK OFF
SET ESCAPE OFF
--sb--