BitCounter
Programmer
All:<br><br> Thanks for reading this. I am looking for help on creating an <b>array of records</b>. The array would be based on 2 fields from a recordset. I want to count the occurrence of data in a particular field. For example, say I wanted to count the number of records with a particular fruit. Upon examination of each record, the program would examine the array, if the fruit already existed in the array, the count would simply be increased, otherwise the "new" fruit would be added to the array. The the end of the recordset, I would simply print out the contents of the array. From this information, I could then generate a report. It would be something like this:<br><br> <b> Fruits Count </b><br> Apples 12<br> Bananas 6<br> Oranges 9<br><br><font color=red> Any help would be greatly appreciated! </font>