RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCachedDataSet.OnGetTableName Event

Occurs when the internal provider initializes its information about the table to which it applies updates.

Pascal
property OnGetTableName: TGetTableNameEvent;
C++
__property TGetTableNameEvent OnGetTableName;

Write an OnGetTableName event handler to enable the internal provider to apply updates to datasets when it can't determine the target table from the source dataset. This table name is used to generate SQL statements that apply updates.  

If this dataset represents a multi-table query or stored procedure, the internal provider has no way to determine the destination of the update without input from an OnGetTableName event handler. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!