Visual Basic Reference
UpdateControls Method
See Also Example Applies To
Gets the current record from a Data control's Recordset object and displays the appropriate data in controls bound to a Data control. Doesn't support named arguments.
Syntax
object**.UpdateControls**
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Remarks
Use this method to restore the contents of bound controls to their original values, as when a user makes changes to data and then decides to cancel the changes.
This method creates the same effect as making the current record current again, except that no events occur.
The UpdateControls method terminates any pending Edit or AddNew operation.