FairCom Corporation


4.6.2.11 CTDatabase::FindTable


Syntax

CTBOOL FindTable(const CTString& Name, CTString& Path)
CTBOOL FindTable(const CTString& Name, CTString& Path, ULONG& uid)
CTBOOL FindTable(ULONG uid, CTString& Name, CTString& Path)

Parameters

Description

Locates a table in a database. If the prototype FindTable(const CTString& Name, CTString& Path) is used, the table is searched by name, and the method retrieves its path. If the prototype FindTable(const CTString& Name, CTString& Path, ULONG& uid) is used, the table is searched by name, and the method retrieves its path and uid. If the prototype FindTable(ULONG uid, CTString& Name, CTString& Path) is used, the table is searched by uid, and the method retrieves its name and path.

Return

FindTable returns YES if the table is found, NO otherwise.

See Also

FirstTable


FairCom Corporation
www.faircom.com