Cols - property of the PmaDataTable object
Description:
The number of columns.
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).
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oDataTable = pMe.Pm("/DataTable");
var nCols = oDataTable.Cols;
Dim oDataTable
Set oDataTable = pMe.Pm("/DataTable")
Dim nCols
nCols = oDataTable.Cols