Progress
ADM 2 Reference
cancelRecord (viewer.p)
Cancels an Update, Add, or Copy operation.
Parameters: NoneReturns: Nothing (procedure)Notes:
- When you choose the Cancel button during:
- cancelRecord is invoked when an update is cancelled, usually by choosing the Cancel button in an Update SmartPanel or the Cancel button or Cancel menu item in a SmartToolbar.
- cancelRecord republishes the
“
cancelRecord”
event to handle the cancel for GroupAssign targets.- cancelRecord can be customized when additional processing is needed when a record Add, Copy, or Update is canceled. You might want to do this to restore other related nondatabase fields or other objects to their original values, or to undo some action that was taken when the Add, Copy, or Update was initiated.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |