First you must create a blank array with a many elements as you are likely to need.
eg
Shared NumberArray MyArray:= [0,0,0,0,0,0,0,0,..... etc]
Put this formula in your report header
Then in your group put in a count variable, which increments every time your group changes.
Then to populate your array
Shared NumberArray MyArray[Count Variable]:= Group condition
This will place data in the array with a psition corresponding to the number of the group.
Hope this helps
Ina Waterman
UK Crystal Consultant