Progress
ADM 2 Reference
cancelRecord (datavis.p)
Cancels an Update, Add, or Copy operation. For a cancel of an add or copy, resets the fields in their previous state. If no record was available before the add, the fields are disabled.
Parameters: NoneReturns: Nothing (procedure)Notes:
- Invokes the cancelRow() function in the update target of the visualization to delete the row created for add or copy.
- When you choose the Cancel button during:
- Invoked when an update is cancelled, usually by choosing the Cancel button in an Update SmartPanel or the Cancel button.
- Sets DataModified property FALSE.
- Customized when additional processing is needed when a record Add, Copy, or Update is cancelled. 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 |