The
PmaAdo object is created, containing the
DtiOper method on the "
Methods" tab. This method represents the basic inteface for working with database tables and can be used, for example, by the
Preconfiguration "Panel with editable table viewer of data source" viewer.
The interface uses the
ADO technology that can be extended by additional functionality:
Example:
Creates new table data with columns nTime (time, primary key, must not be NULL), 'flags' (integer, must not be NULL) and 'value1' (real number, must not be NULL).
JavaScriptVBScriptSelect and copy to clipboard
pMe.DbExecute("", "CREATE TABLE data (nTime TIMESTAMP PRIMARY KEY NOT NULL, flags SMALLINT NOT NULL, value1 FLOAT NOT NULL)", "");
pMe.DbExecute "", "CREATE TABLE data (nTime TIMESTAMP PRIMARY KEY NOT NULL, flags SMALLINT NOT NULL, value1 FLOAT NOT NULL)", ""