ComponentOne True DataControl 8.0
UpdateFields Method

 

UpdateFields Method

Updates the recordset with modified values from bound controls.

Syntax

TData.UpdateFields

Remarks

Method applies to TData control.

Arguments: None

Return Value: None

The UpdateFields method gives you functionality that is absent in the ADO data control (Microsoft ADODC). If the end-user has changed the value in a bound control, calling UpdateFields will send this pending change to the TData control Recordset and set the corresponding field.

Unless you call this method, the field is updated in accordance with its ModificationMode property: on every change in the control, if ModificationMode = 1 – Immediate; when the control loses focus, if ModificationMode = 2 – Leaving control; when the user leaves current record, if ModificationMode = 0 – None.

See Also

TData Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback