Progress
ADM 2 Reference
displayFields (viewer.p)
Displays the current row values by moving them to the viewer’s frame screen-values.
Parameters:INPUT pcColValues AS CHARACTER
CHR(1)-delimited list of the STRING–VALUEs of the requested columns; the first value of this list is the RowIdent value of the corresponding record to be displayed.
Returns: Nothing (procedure)Notes:
- The pcColValues input parameter contains the field values to be displayed in the SmartDataViewer.
- displayFields is invoked from resetRecord, cancelRecord, copyRecord, addRecord, and from dataAvailable when the data source has a new row.
- displayFields runs displayObjects to display values for nondatabase-related fields.
- When a field is a SmartObject itself (for example, a SmartField object), setDataValue is invoked in the SmartObject to set its value.
- Be aware that no RowObject record is available in a SmartDataViewer, so a customization of displayFields cannot refer to the RowObject buffer. The colValues function can be used to access a list of column values from the Viewer’s SmartDataObject if needed, or the columnStringValue function will return the formatted value of a particular field.
Examples:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |