Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array

Status
Not open for further replies.

dzavad

Programmer
Apr 17, 2000
167
US
How can I create an array formula that would colect resaults based on the group?
I need this to be able to use array string to spress records in sub report.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top