Promotic

Cols - property of the PmaDataTable object

Description:
The number of columns.
Syntax:
Long Cols
Note:
Property access for read only.
 
The number of columns can be changed by methods InsertCol and RemoveCol.
Maximum number of columns depends on PROMOTIC runtime licence and is: PmRtProf: 65535, PmRtFree: 30 and PmRtXX: XX (for example PmRt100: 100).
The value of this property can be also obtained in the "PmaRoot" item of the INFO system (when looking into the object with this property).
See also:
- PmaDataTable.Rows (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oDataTable = pMe.Pm("/DataTable");
var nCols = oDataTable.Cols;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.