The ADO MD Position object represents a set of one or more members of one or more dimensions that defines a point along an axis.

Basic Usage

To display an entire cellset, this VBS code loops through each position in each axis:

For intColumn = 0 To cst1.Axes(0).Positions.Count - 1
    ...
    For intRow = 0 To cst1.Axes(1).Positions.Count - 1
        ...
        Set pos1 = cst1(intColumn, intRow)
        If Not cst1.Members(0).ParentSameAsPrev Then
            'Code here may alternate presentation of this pos since 'the previous pos had different parent.
            Response.Write pos1.FormattedValue 
        End If
    Next
Next

Object Members

Properties Collections Methods Events
  1. Ordinal
  1. Members
  1. (None)
  1. (None)

2007-10-10 20:14:17Z