DeleteTable - method of the PmaDatabase object
Description:
Deletes the database table.
Syntax:
Boolean DeleteTable([Variant vTable])
Parameters:
vTable | [optional] (Variant) table name |
---|
Note:
This method can be called only if the database is connected (e.g. by calling the
Connect method) or opened (e.g. by calling the
Open method).
Calling method 2) Delete the table defined by the
Table property (the "
Table (file)" configurator) in the database defined by the
Database property.
1) example:
JavaScriptVBScriptSelect and copy to clipboard
var bDelTable = oDb.DeleteTable("Table1");
Dim bDelTable
bDelTable = oDb.DeleteTable("Table1")
2) example:
JavaScriptVBScriptSelect and copy to clipboard
var bDelTable = oDb.DeleteTable();
Dim bDelTable
bDelTable = oDb.DeleteTable()