Release 10.1A: OpenEdge Development:
ADM Reference

> ## cancelRecord

> SmartDataBrowser version of cancelRecord. This procedure cancels an Update, Add, or Copy operation. For a cancel of an add or copy, deletes the previously added row from the RowObject temp–table in the associated SmartDataObject, and displays the previously current record again. For a cancel of an update, displays the field values of the previous row again. Sets the value of the NewRecord property back to No.

> Location: browser.p

> Parameters: None

> Notes:

> - Invokes cancelRecord in `datavis.p` (RUN SUPER).

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

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