CTDatabase::GetFirstActive
Syntax
CTTable* GetFirstActive( )
CTTable* GetFirstActive(VRLEN& ScanRec)
Parameters
Description
Retrieves the first active table in the database. One table is active if it is open. If more than one scan must be done at the same time, GetFirstActive(VRLEN& ScanRec) must be used, with different ScanRec parameters for each scan.
Return
GetFirstActive() returns the table object pointer.
Example
pTable=pDatabase->GetFirstActive();
printf("\nFirst Active table: %s",
pTable->GetName().c_str());
See also
GetNextActive(), FirstTable(), IsActive()