Progress
ADM 2 Reference


submitForeignKey (data.p)

Called from submitRow. Defines Foreign Key values for a new row.

Parameters:

INPUT pcRowIdent

The RowIdent (a comma-delimited list of ROWIDs that uniquely identify the RowObject record) of the new RowObject record to be stored in the database. Since this is a new record, only the first ROWID (that of the RowObject itself) is valid. There are no database ROWIDs because they have not yet been created.

INPUT-OUTPUT pcValueList

A CHR(1)-delimited list of column and value pairs to be set in the RowObject record identified by pcRowIdent. On input it is a list that has been set before submitForeignKey was called. On output it is the now current list with the addition of any foreign fields that have been set.

INPUT-OUTPUT pcUpdColumns

A comma-delimited list of column names that are updatable in the SmartDataObject. If any ForeignFields are set and added to the pcValueList, they will also be added to pcUpdColumns to let the calling code know that it is permissible to update them.

Returns: Nothing (procedure)

Notes:


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