Here is my problem. I have a report where I have to keep the invoice numbers together with the payments so I have the report grouped by invoice number. My client wants to gross billings for a given month and the payments for those billings in the following months. I can not group my report based on month and year because it separates the invoice from its relevant payments. Crystal Decisions recommends setting up a subreport in the report header to collect the invoice numbers for each month in arrays then create seperate arrays to hold the payments for each month if the invoice number is in the appropriate array.
Apr Invoice Array [stores the invoice numbers for arrays]
Apr Payment Array [if the invoice date is in month =4 and invoice number is in Apr Invoice Array then store amount of invoice in Apr Payment Array.]
I have never used arrays so how do I set this up to add values inside of an array.
Apr Invoice Array [stores the invoice numbers for arrays]
Apr Payment Array [if the invoice date is in month =4 and invoice number is in Apr Invoice Array then store amount of invoice in Apr Payment Array.]
I have never used arrays so how do I set this up to add values inside of an array.