Kbase P12980: How the PCValueList of the Function SubmitRow is built
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
GOAL:
How the PCValueList of the Function SubmitRow is built
FACT(s) (Environment):
Progress 9.1D
FIX:
SubmitRow is a function that belongs to data.p and it accepts a list of changed values for a row and ASSIGNs them, returning FALSE if any errors occur. This is done only to the RowObject temp-table. Committing the changes back to the database is a separate step, which will be invoked from here if AutoCommit is set on.
Parameters:
INPUT pcRowIdent AS CHARACTER
The "key" with row number to update, plus a list of the ROWID(s) of the database record(s) from which the RowObject is derived.
INPUT pcValueList AS CHARACTER
A CHR(1)-delimited list of alternating column names and values to be assigned.
Returns: LOGICAL
The list that SubmitRow accepts is provided by the procedure collectChanges (datavis.p) This procedure collects the screen values from the screen to assign them to the appropriate record. Values are collected as a character value of a list form.
The collectChanges procedure is not intended to be run from application code. If validation of modified field values is required, this should generally be done using one of the methods in the SmartDataObject (under submitRow), rather than
in the associated visualization.
If the screen values are from objects that were enable for update they will be included on the list, otherwise they won't change due they were disabled.