Release 10.1A: OpenEdge Development:
ADM Reference

> ## cancelRecord

> Procedure that 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.

> Location: datavis.p

> Parameters: None

> 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:

> - Add or Copy — The new record is erased and the previously current record is displayed again.
> - Update — The Update is cancelled and the record’s original values are displayed.
> - 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 © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095