synbios1978
Programmer
I created a statement report for work where it shows a range of our customers based on typing in a starting and stopping customer number and displays a statment for each customer (showing what they owe us or any deposits they may have). However, our accounting dept. has asked me to add the option to have a selection for "Over 30", "Over 60", "Over 90", and "Over 120" meaning showing only the customers who are over that many days delinquent. At first I thought no big deal, so I added in the parameters as boolean and put them in the same group. Starts off great. However, I need to show all the data for that customer, both current and everything past due. I've tried adding the criteria:
if {?Over30} = true then
CurrentDate-{ARItem.Date-Reference}>30
else if {?Over60} = true then
CurrentDate-{ARItem.Date-Reference}>60
else if {?Over90} = true then
CurrentDate-{ARItem.Date-Reference}>90
else if {?Over120} = true then
CurrentDate-{ARItem.Date-Reference}>120
inside the record selection area, and I get only the customers I want, but I lose anything that they would have as current on file. And if I put it in the group selection, I still get the right customers and totals, but I'm still missing line items. Can anyone help me out on this??
Thanks in advance!!
if {?Over30} = true then
CurrentDate-{ARItem.Date-Reference}>30
else if {?Over60} = true then
CurrentDate-{ARItem.Date-Reference}>60
else if {?Over90} = true then
CurrentDate-{ARItem.Date-Reference}>90
else if {?Over120} = true then
CurrentDate-{ARItem.Date-Reference}>120
inside the record selection area, and I get only the customers I want, but I lose anything that they would have as current on file. And if I put it in the group selection, I still get the right customers and totals, but I'm still missing line items. Can anyone help me out on this??
Thanks in advance!!