Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ExistTable - method of the PmaDatabase object

Description:
It is used for testing the occurrence of the table in the database. The 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).
Syntax:
Boolean ExistTable([Variant vTable])
Parameters:
vTable[optional] (Variant) table name
Return values:
true - table exists in the database (defined by the Database property)
false - table doesn't exist in the database
Note:
Calling method 1) Test for the occurrence of the table defined in the vTable parameter in the database.
Calling method 2) Test for the occurrence of the table defined in the "Table (file)" configurator.
1) example:
JavaScriptVBScriptSelect and copy to clipboard

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

var bTable = oDb.ExistTable();
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