Skip to main content

TdxServerModeCustomDataSource.EndUpdate Method

Enables sending notifications about data source changes locked by the matching BeginUpdate method call.

Declaration

procedure EndUpdate;

Remarks

To improve performance and prevent the linked data-aware control’s data controller from refreshing its contents during updates to the data source’s connection or target source settings, enclose the code performing the updates within BeginUpdate/EndUpdate blocks. If no changes are made, you can call the CancelUpdate method, enabling further updates. Unlike EndUpdate, the CancelUpdate method does not send notifications to the data controller – it simply cancels the last BeginUpdate method call.

Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method (or to CancelUpdate).

Note

The data controller does not receive update notifications unless all EndUpdate methods are executed.

See Also