Cols - property of the PmaDataTable object

The number of columns.
Long Cols
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)
JavaScriptVBScriptSelect and copy to clipboard

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

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