TurboDB VCL Component Library


Previous  Top  Next

Describes how a session currently accesses a database table.

Delphi syntax:

TTdbUsageUserInfo = record
ConnectionName: ShortString;
ConnectionId: LongWord;
Active: Boolean;
LockCount: Integer;
TimeOut: Integer;
RecordNo: Integer;

C++ syntax:

class TTdbUsageUserInfo {
ShortString ConnectionName;
unsigned int ConnectionId;
bool Active;
int LockCount;
int TimeOut;
int RecordNo;


ConnectionName        User-defined name for this session/connection
ConnectionId                System-defined unique id for this session/connection
Active                        Session is active
LockCount                Number of read locks
TimeOut                Time out
RecordNo                Physical number of locked record