CTDatabase.DropTable
Syntax
void DropTable(String 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
MyTable.Close(); // close the custmast table.
MyDatabase.DropTable("custmast");
See Also
AddTable(), CTSession.SetLogonOnly(), DeleteTable()