Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTSession::GetFirstActive

Syntax

CTDatabase* GetFirstActive( )

CTDatabase* GetFirstActive(VRLEN& ScanRec)

Parameters

  • ScanRec [out] the holder of the scan status

Description

Retrieves the first active database. A database is active if it is connected. The first prototype may be used when just one scan is being done. 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 first active database in the session or 0 if there are no active databases in the session.

See also

GetNextActive(), FindActive(), CTDatabase::Connect()

TOCIndex