Assign( ) method
(Windows only; GUI for .NET only)Assigns input values from the current row in the .NET control back to the corresponding record in the bound ABL data source object buffer. When a control is bound to a single field, the BindingSource object assigns the input value to the corresponding field in the buffer.
Return type: LOGICAL
Access: PUBLIC
Applies to: Progress.Data.BindingSource class
You can only use this method for validation at the row level. When a control fires a row-level event, the BindingSource object has access to the input values for all fields in the row. When a control fires a field-level event, the BindingSource object might not have access to that field’s input value.
If the method assigns values successfully, it returns TRUE; otherwise, it returns FALSE.
Note: This method cannot check the current values against the initial values of BLOB or CLOB fields. The method raises an error if a row contains a BLOB or a CLOB field, unless you set the ProBindingSource’s NoLOBs property to TRUE.See also: NoLOBs property
OpenEdge Release 10.2B
|