Progress
ADM 2 Reference


doCreateUpdate (data.i)

FINDs the specified row to be updated and saves a copy into the RowObjUpd table, to support Undo. Run from submitRow when it receives a set of value changes from a UI object.

Parameters:

INPUT pcRowIdent AS CHARACTER

Encoded key of the row to be updated

INPUT pcValueList AS CHARACTER

Chr(1)-delimited list of FieldName/NewValue pairs.

OUTPUT plReopen AS LOGICAL

TRUE if the row is new, the result of a COPY or ADD

OUTPUT pcMessage AS CHARACTER

Error message, if any

Returns: Nothing (procedure).

Notes: Run from submitRow. Returns error message or " ". If the row is not available in the RowObject temp-table (this would be because the SmartDataObject was not the DataSource) this routine FINDs the database record(s) using the RowIdent key before applying the changes, unless it’s a new row.


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