RAD Studio VCL Reference
TDataSet.PSGetTableName Method

Returns the name of the dataset table that appears in generated SQL statements.

function PSGetTableName: string; virtual;
virtual __fastcall AnsiString PSGetTableName();

PSGetTableName returns the name of the underlying database table against which updates are applied when the provider's ResolveToDataSet property is false. This value is used for generating the SQL statements that apply updates. The generated SQL statements are subsequently executed by a call to PSExecuteStatement. 

If PSGetTableName does not return a table name, the provider must have an OnGetTableName event handler to supply this value. 


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