Data.Win.ADODB.TADOTable.TableName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TADOTable

Delphi

property TableName: WideString read GetCommandText write SetCommandText;

C++

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

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