TCB4Database Info

A TCB4Table can work in cooperation with a TCB4Database. It handles connections to the Server in a C/S configurations and provides an easy way to change between different database directories. It is comparable to the TDatabase of Delphi.

For an explanation of the properties and methods of TCB4Database see Delphi's TDatabase.


Compatible with TDatabase

procedure Close;
procedure Commit;
procedure
Open;
procedure Rollback;
procedure StartTransaction;

property InTransaction: Boolean
property
CBCODE4: CODE4;
property Connected: Boolean;
property DatabaseName: string;
property LoginPrompt: Boolean;
property OnLogin: TDatabaseLoginEvent;

Different from TDatabase

property Params: TStrings; - Extra params: 'SERVER NAME' and 'PROCESS ID';

Extra in TDatabase

property DataSetCount: Integer;
property DataSets[Index: Integer]: TCB4Table
property IndexPath: string; - Path for index files
property TablePath: string; - Path for table files


© 1999 Tiriss