The PIDCol property returns or sets the primary ID data column. Returns an integer.
Syntax
object.PIDCol
object.PIDCol = PIDCol
Parameter |
Type |
Description |
PIDCol |
Integer |
required; column A equals 1 |
Example 1
This example returns the primary ID column for a flow map.
Debug.Print "Primary ID column (column A = 1) = "; FlowMap.PIDCo
Example 2
This example sets the primary ID column for a hatch map to the second column.
HatchMap.PIDCol = 2
Example 3
This script displays all the properties in the DensityMap object.
Used by: BarMap object, CartogramMap object, DensityMap object, FlowMap object, GradientMap object, HatchMap object, LineGraphMap object, PieMap object, PinMap object, PrismMap object, SymbolMap object, TerritoryMap object