Progress
ADM 2 Reference


cancelRow (data.p)

Cancels an Add, Copy, or Save operation.

Parameters: None

Returns: CHARACTER

Notes: Calls to cancelRow in turn callUndoUpdate, which restores the original values of a modified row from the RowObjUpd record then deletes the RowObjUpd record. In the cases of an Add or a Copy, both the new RowObject and the RowObjUpd records are deleted. After all of this work has been done, doUndoUpdate repositions the RowObject temp-table to what was previously the current row. This is all done in doUndoUpdate because direct access to the tables in the data.i include file greatly simplifies the code.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095