Release 10.1A: OpenEdge Development:
ADM Reference

> ## collectChanges

> Procedure that collects the screen values and assigns them to the appropriate record. Values are collected as a character value of a list form.

> Location: datavis.p

> Parameters:

> `INPUT-OUTPUT pcChanges AS CHARACTER`

> A CHR(1)-delimited list made of changed fields and their corresponding value.

> `INPUT-OUTPUT pcInfo AS CHARACTER`

> A comma-delimited list with three entries per object containing the number of fields changed, the page number of the object, and its handle. This allows the proper page to be viewed and focus applied to the proper field in the event of an error.

> Notes:

> - collectChanges is invoked from updateRecord and published to any GroupAssign target.

> - 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.

> - Only values of fields that are modified are collected. (The MODIFIED attribute is used to determine if the field is modified or not.)

> - Use the ModifyFields property to control from which fields to collect values. See the "ModifyFields" section for more information.

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