Data.Win.ADODB.TADOTable.TableName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TableName: WideString read GetCommandText write SetCommandText;

C++

__property System::WideString TableName = {read=GetCommandText, write=SetCommandText};

Properties

Type Visibility Source Unit Parent
property published
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TADOTable

Description

Indicates the base table operated on.

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.

See Also