Icon BeginControlUpdate Method

procedure BeginControlUpdate

Available In: Client and Server Applications

Use this method to disable any notifications to data-bound controls and the triggering of dataset events until the EndControlUpdate method is called. Both of these methods are referenced-counted, so nested calls to the BeginControlUpdate method result in the reference count being incremented, while nested calls to the EndControlUpdate method result in the reference count being decremented. Once the reference count reaches 0, notifications to data-bound controls and the triggering of dataset events will resume.

Information This method is primarily intended to be used internally by data-bound, multi-row controls when responding to dataset events. The difference between this method and the DisableControls method is that this method also disables the triggering of all dataset events that might cause infinite recursion.
Image