Class TDAOTable (unit DAOTable)

Inherits from

TDAODataset

TDAOTable is a dataset component that encapsulates a database table.

Functions

function Seek(const sComparison: string; KeyValues: array of OleVariant): Boolean;


Properties

property Active


property FilterText


property IndexName


property OpenType : TDAORstOpenType


property SortText


property TableName : string


property Attached : Boolean


property Attributes : TTableAttributes


Functions

function Seek(const sComparison: string; KeyValues: array of OleVariant): Boolean;

Finds in indexed Recordset object such as Table the record satisfying to given conditions and makes this record current. sComparison - one of the following values: "<", "<=", "=", ">=" or ">".
KeyValues - one or several values of key fields in a current index (TDAOTable's IndexName property). Up to 13 arguments in a keyvalues is admitted.

Properties

property Active :

TDAODataset.Active


property FilterText :

TDAOQuery.FilterText


property IndexName :

Indicates the name of the index, which is used for opening of table.


property OpenType : TDAORstOpenType

OpenType defines type of returned result set.

OpenType is set from the following values:
db_Open_Dynaset Opening of Recordset such as a dynamic set of records.
db_Open_Snapshot Opening of Recordset such as a static set of records.
db_Open_Table Opening of table.
Look at DAO 3.5 help for additional details.


property SortText :

TDAOQuery.SortText


property TableName : string

Indicates the name of the database table that this component encapsulates.


property Attached : Boolean

Indicates whether or not table is attached.

True - table is attached, False - not.


property Attributes : TTableAttributes

Returns the characteristics of DAO TableDef object.