The CreateDataColumn method creates a new column of data.
Syntax
object.CreateDataColumn( Action, LabelFirstRow, InputCol, PIDCol, IncPointsOfAllLayers, OutputCol )
Parameter |
Type |
Description |
Action |
optional; create point counts or unique data counts, default is to create unique data counts |
|
LabelFirstRow |
Boolean |
optional; true if first row contains header information |
InputCol |
Integer |
optional; data input column, column A equals 1 |
PIDCol |
Integer |
optional; primary ID column, column A equals 1 |
IncPointsOfAllLayers |
Boolean |
optional; true to include points from all layers when Action is mvCreateDataActionInArea |
OutputCol |
Integer |
optional; output column, column A equals 1 |
Example
'CreateDataColumn
'Create a new data column (first open column) in the worksheet of unique data counts in each area using PID column A
CurrentLayer.CreateDataColumn(Action:=mvCreateDataActionUnique, InputCol:=1)
Used by: Layer object