CANCEL primary command

The CANCEL primary command (F12) quits the current panel without saving any changes to the data. In an Edit session, if you have entered changes to your data, you are asked to confirm that you want to discard those changes.

Note: Changes to data are only processed when you press Enter or issue a command. If you overtype some data but do not press Enter or issue any other command before you attempt to CANCEL, you are not prompted to confirm the CANCEL action as the data change has not yet been flagged.

QUIT is a synonym for CANCEL.

If the function you were working in was a list in which multiple entries were selected, CANCELing from one of the selected entries halts the processing of other selections from that list.


Read syntax diagramSkip visual syntax diagram


  • Available on all panels.

Related tasks and examples