Returns an array of property names of the repeated control.
Syntax
object.PropertyNames(index)
The PropertyNames property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
index | The index of an element in the array. The array is 0-based. |
Remarks
Use the Ubound method to determine how many elements are in the array. Since the array is 0-based, use the following code:
Debug.Print Ubound(DataRepeater1.DataFields) + 1