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 derfloh 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

  • Thread starter Thread starter rq
  • Start date Start date
Status
Not open for further replies.

rq

Programmer
Joined
Jun 13, 2002
Messages
56
Location
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