Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTDatabase::NextTable

Syntax

CTBOOL NextTable(CTString& Name, CTString& Path)

Parameters

  • Name [out] The name of the next table in the database.
  • Path [out] The path of the next table in the database.

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()

TOCIndex