FairCom Corporation


4.6.2.20 CTDatabase::NextTable


Syntax

CTBOOL NextTable(CTString& Name, CTString& Path)

Parameters

Description

Locates the next table in a database. FirstTable must be used before using NextTable for the first time in a database.

Return

NextTable 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

FirstTable


FairCom Corporation
www.faircom.com