FairCom Corporation


4.6.2.12 CTDatabase::FirstTable


Syntax

CTBOOL FirstTable(CTString& Name, CTString& Path)

Parameters

Description

Locates the first table in a database.

Return

FirstTable returns YES if one table is found, NO otherwise.

Example

pDatabase->Connect();
pDatabase->FirstTable(tbname, tbpath);
do
{ printf("\ntable name: %s",tbname.c_str(); }
while (NextTable(tbname, tbpath);

See Also

NextDaTable, FindTable, GetFirstActive


FairCom Corporation
www.faircom.com