RAD Studio VCL Reference
TADOTable.TableName Property

Indicates the base table operated on.

property TableName: WideString;
__property BSTR TableName;

Use TableName to specify the base table in a database on which the ADO table component operates. Data is retrieved from and changes written to this base table. 

Before setting or changing the value of TableName, you should deactivate the ADO table component by calling its Close method or setting its Active property to false. 

At design-time, if a valid connection to a database can be established, the Object Inspector provides a drop-down list of names of available tables. 


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