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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

determine array element

Status
Not open for further replies.

rq

Programmer
Jun 13, 2002
56
US

I am designing a reports using Crystal Reports 8.0. It is a customer list. At the report footer, I want to list the customer reps and count how many customers they represent. I kept track of the customer reps using two arrays -- one for who the customer reps are and the second for tabulating their number of customers. To tabulate their customer count, is there a function I can use that determines which array element the customer rep is in as data gets traversed to generate the report? Or should I just create a loop (either a Do...While or a For...Next) procedure within a formula field to determine which array element I should run the tabulation on?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top