xHarbour Reference Documentation > Function Reference |
Queries and/or changes information about a record of an open database file.
DbRecordInfo( <nDefine>, [<nRecord>], [<xNewSetting>] ) --> xOldSetting
DbRecordInfo() returns the queried record information as supplied by the replaceable database driver (RDD).
DbRecordInfo() queries detailed record information from the replaceable database driver (RDD). Depending on database and RDD used, different information may be available. The type of information to retrieve is specified with #define constants available in the DBINFO.CH header file.
Constants for DbRecordInfo()
Constant | Return value |
---|---|
DBRI_DELETED | The Deleted() flag of a record as a logical value |
DBRI_ENCRYPTED | The encrypted flag of a record as a logical value |
DBRI_LOCKED | The write lock status of a record as a logical value |
DBRI_RAWDATA | The raw data of a record as a character string |
DBRI_RAWMEMOS | The raw memo field data of a record as a character string |
DBRI_RAWRECORD | The raw data of a record except memo fields as a character string |
DBRI_RECNO | The numeric relative record position, see OrdKeyNo() |
DBRI_RECSIZE | The numeric size of a record, see RecSize() |
DBRI_UPDATED | The updated flag of a record as a logical value |
By default, DbRecordInfo() operates in the current work area. Use an aliased expression to query field information in different work areas.
See also: | Alias(), DbInfo(), DbFieldInfo(), DbOrderInfo(), DbUseArea(), Deleted(), OrdKeyNo(), RecSize(), RLock(), Select() |
Category: | Database functions , Info functions |
Header: | Dbinfo.ch |
Source: | rdd\dbcmd.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com