Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

Find Table

CTDatabase.FindTable() locates a specific table given the table name and, if the table exists, retrieves the table path. If a table cannot be found, CTDatabase.FindTable() returns false.

// return true if table exist or false if table does not exit

CTBOOL TableExist(CTDatabase ADatabase, String tblName)

{

StringBuilder tblPath = new StringBuilder();

return ADatabase.FindTable(TblName, out tblPath);

}

TOCIndex