JSDO properties, methods, and events reference : assign( ) method (UIHelper class)
  

assign( ) method (UIHelper class)

Updates a specified working record in JSDO memory with the values currently displayed on the detail page form.
Return type: boolean
Applies to: progress.ui.UIHelper class, table reference property (UIHelper class)

Syntax

uihelper-ref.assign ( )
uihelper-ref.table-ref.assign ( )
uihelper-ref
A reference to a UIHelper instance. You can call the method on uihelper-ref if the JSDO associated with the instance has only a single table reference, and that table reference has a working record.
table-ref
A table reference that has a working on the JSDO associated with the UIHelper instance.
Note: After this method updates the working record in JSDO memory, and if you have set up automatic sorting using the autoSort property, all the record objects for the affected table reference are sorted accordingly. If the sorting is done using sort fields, any string fields are compared according to the value of the caseSensitive property.

See also:

autoSort property, caseSensitive property, getFormFields( ) method