Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTDatabase.NextTable

Syntax

bool NextTable(StringBuilder Name, StringBuilder 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 true if one table is found, false otherwise.

Example

aDatabase.Connect();

aDatabase.FirstTable(tbname, tbpath);

do

{ Console.Write("\ntable name: {0}",tbname.ToString(); }

while (NextTable(tbname, tbpath);

See Also

FirstTable()

TOCIndex