FairCom Corporation


4.6.2.9 CTDatabase::DropTable


Syntax

void DropTable(const CTString& Name)

Parameters

Description

Drops a table from the database, but does not delete the files from disk. After one table has been dropped from the database, it may be operated independent from a Database using the CTSession::SetLogonOnly method, or it may be added to any other database in the system.

Return

None.

Example

pMyTable->Close(); // close the custmast table.
pMyDatabase->DropTable("custmast");

See Also

DeleteTable, AddTable, CTSession::SetLogonOnly


FairCom Corporation
www.faircom.com