RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOTable.TableName Property

Indicates the base table operated on.

Pascal
property TableName: WideString;
C++
__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. 

 

Close 

Active 

ConnectionString 

GetTableNames

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!