Data.Win.ADODB.TADOTable.TableDirect
Delphi
property TableDirect: Boolean read GetTableDirect write SetTableDirect default False;
C++
__property bool TableDirect = {read=GetTableDirect, write=SetTableDirect, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TADOTable |
Description
Specifies how the table is referenced.
Set TableDirect to specify whether the table is accessed via its name or a background SQL statement is used. Not all providers support accessing a table by its name and require that the access be made with a SELECT statement. If TableDirect is True, then the data retrieval request is simplified and all the columns are returned. Otherwise, the TADOTable component creates a SELECT statement to retrieve the table's data.
The default value of TableDirect is False.