Hello,
I wonder if any of you have expanded the report "Aged Accounts Receivable" (#10040) to show aged post within 5 periods e.g. 0-30, 31-60, 61-90, 91-120, 120+
I keep getting into trouble with the array PeriodEndingDate giving an error on an invalid date???
Any hints will be highly appreciated

Ole
Comments
What modifications did you make to the OnPreReport Trigger ?
The Two For Loops should terminate at 5, and the next code should be like this : PeriodEndingDate[6] := 0D;