DJWheezyWeez
Technical User
I'm using CR XI.
I have a report listing machine parts used on a single job. Sometimes it's one, sometimes it's more than one. When there's two parts used, I've been able to work with max/min to create variables for each part, but I'm having trouble figuring out a way to create a variable for each part when there's more than two.
I've created three subreports, each showing the 1st, 2nd, and 3rd record by suppressing the others rather than excluding them via record selection. While I can see and display each part on the report and the detail for each part (sizes/types/etc), when I create a shared variable, it displays the 3rd record in each subreport. I expected this to happen but it was worth a shot.
Is there a way to create something like shared numbervar Size1 := size of the first part, shared numbervar Size2 := size of the second part, and shared numbervar Size3 := size of the third part, either one variable in each subreport or a way to combine everything into one subreport?
Any help or ideas are appreciated.
I have a report listing machine parts used on a single job. Sometimes it's one, sometimes it's more than one. When there's two parts used, I've been able to work with max/min to create variables for each part, but I'm having trouble figuring out a way to create a variable for each part when there's more than two.
I've created three subreports, each showing the 1st, 2nd, and 3rd record by suppressing the others rather than excluding them via record selection. While I can see and display each part on the report and the detail for each part (sizes/types/etc), when I create a shared variable, it displays the 3rd record in each subreport. I expected this to happen but it was worth a shot.
Is there a way to create something like shared numbervar Size1 := size of the first part, shared numbervar Size2 := size of the second part, and shared numbervar Size3 := size of the third part, either one variable in each subreport or a way to combine everything into one subreport?
Any help or ideas are appreciated.