Hi there. I'm using Crystal 7 - limited I know. I need the amounts from last 12 months from the current date. No problem. Then previous to that I need the PREVIOUS 12 months. And previous to that I need the previous 12 months.
I don't necessarily want to go back 60 months. I want to go back the last 12 months. If that is 0 then get the 12 months only prior to that - not the last 24 months. And so on. I want each 12 month period for the last 5 years.
I think I understand what you want. However, what will you be displaying other than the amount?
With Crystal, a single record selection is performed. So you will have to grab all 60 months. Create formulas for each period and suppress them. If the amoount is 0, then unsuppress the previous period and so on.
The other alternative is to use subreports for each of the 12 months and global variable to monitor the value. This will allow you to incrementally execute and select 12 months at a time depending of the the value assigned from the previous amount.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.