Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTDatabase.FirstTable

Syntax

bool FirstTable(StringBuilder Name, StringBuilder Path)

Parameters

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

Description

Locates the first table in a database.

Return

FirstTable() returns true if one table is found, no otherwise.

Example

aDatabase.Connect();

aDatabase.FirstTable(tbname, tbpath);

do

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

while (NextTable(tbname, tbpath);

See Also

FindTable(), GetFirstActive(), NextDaTable()

TOCIndex