|
Class TDAODataset (unit DAODataset) |
TDataset
Encapsulates DAO recordset funtionality for descendent dataset objects.
TDAODataset is a dataset object that defines DAO recordset functionality for a dataset.
Your applications will never use TDAODataset object directly.
Instead they use descendents of TDAODataset, such as TDAOQuery, TDAOTable and TDAOQueryDef,
which inherits its database related properties and methods.
|
Functions |
function Locate(const KeyFields: string; const KeyValues: Variant;
Options: TLocateOptions): Boolean;
function Lookup(const KeyFields: string; const KeyValues: Variant;
const ResultFields: string): Variant;
|
Properties |
property Active :
property BlockType : TDAOBlockType
BlockType is set from the following values:
| db_Optimistic | A type of locking in which the data page containing one or more record, including the record being edited, is unavailable to other users only while the record is being updated |
| db_Pessimistic | A type of locking in which the data page containing edited record is blocked by a call of Edit method |
| db_ReadOnly | Interdiction to the users on modification in dataset (Recordset) |
property Database : TDAODatabase
property Parameters : TDAOOpenParameters| db_AppendOnly | The addition of new records in is authorized only to users |
| db_SeeChanges | Generation of an exception, if one user has changed the data, edited by other user |
| db_DenyWrite | Interdiction to other users to change or to add records |
| db_DenyRead | Interdiction to other users on reading of the data in the table (only for Recordsets opened with dbOpenTable parameter). |
|
Variables |
_Recordset : Recordset;