monkeylizard
MIS
I've just read Mr. Hammerman's FAQ 149-1220. I understand what it's doing, but how do I use it?
I've never built an array in Crystal before, so start from the beginning if you can.
I'm building a report that will look sort of like this bad ascii example below:
The "-------" is just a space holder. I really want all 12 months. the user will be providing an End Date parameter so I can get the Month and Year from that to begin the calcs.
The grouping is not a problem, but the horizontal columns by a rolling 12 is giving me fits.
So, how do I make the array using the code in the FAQ and how do I apply it? How do I call that array and pass in the End Date provided as a parm to get each of the 12 prior months/year periods?
Monkeylizard
Sometimes just a few hours of trial and error debugging can save minutes of reading manuals.
I've never built an array in Crystal before, so start from the beginning if you can.
I'm building a report that will look sort of like this bad ascii example below:
Code:
****************
NOV'05 DEC'05 JAN'06 ----- OCT'06
Employee1
Units Sold 5 8 0 6
Units Returned 2 1 0 4
Employee2
Units Sold 12 15 2 9
Units Returned 5 3 4 1
********************
The "-------" is just a space holder. I really want all 12 months. the user will be providing an End Date parameter so I can get the Month and Year from that to begin the calcs.
The grouping is not a problem, but the horizontal columns by a rolling 12 is giving me fits.
So, how do I make the array using the code in the FAQ and how do I apply it? How do I call that array and pass in the End Date provided as a parm to get each of the 12 prior months/year periods?
Monkeylizard
Sometimes just a few hours of trial and error debugging can save minutes of reading manuals.