Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 1) Delete the vTable table in the database defined by the Database property (the "Database (file, folder, data source)" configurator).
Calling method 2) Delete the table defined by the Table property (the "Table (file)" configurator) in the database defined by the Database property.
See also:
1) example:
JavaScriptVBScriptSelect and copy to clipboard

var bDelTable = oDb.DeleteTable("Table1");
2) example:
JavaScriptVBScriptSelect and copy to clipboard

var bDelTable = oDb.DeleteTable();
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice