Hello,
I am using cr XI rel 2 with an informix database.
I have a main report grouped by color, item and class.
I have 3 subreports to bring in received data into the main report.
There are parameters to select certain items within a class.
The subreports are also grouped by color, item and class.
Each subreport is located in the appropriate section:
Color rec sub in gf3A
color details in gf3b
subreport linked by item and color
item rec sub in gf2a
item details in gf2b
subreport linked by item
Class rec sub in gf1a
class details in gf1b
subreport linked by class
I have the shared variables and reset formulas working properly for the color and item groups and am getting the correct values for these groupings.
However for the class level variable I am getting the total for the whole class instead of for the selected items within the class.
Example
item color class qty
123 black 1000 50
123 green 1000 10
item 123 total 60
456 white 1000 25
item 456 total 25
789 red 1000 75
item 789 total 75
class 1000 total 12458
Grand totals 285325
I would expect to see 160 as the class total.
Instead I am seeing 12458 which is the class total across all items within the class and 285325 as a grand total which is the grand total for all items instead of the selected items.
Any ideas on how to get the correct class and grand totals calculations? I am sure I am missing something simple somewhere.
Thanks,
Stacey
I am using cr XI rel 2 with an informix database.
I have a main report grouped by color, item and class.
I have 3 subreports to bring in received data into the main report.
There are parameters to select certain items within a class.
The subreports are also grouped by color, item and class.
Each subreport is located in the appropriate section:
Color rec sub in gf3A
color details in gf3b
subreport linked by item and color
item rec sub in gf2a
item details in gf2b
subreport linked by item
Class rec sub in gf1a
class details in gf1b
subreport linked by class
I have the shared variables and reset formulas working properly for the color and item groups and am getting the correct values for these groupings.
However for the class level variable I am getting the total for the whole class instead of for the selected items within the class.
Example
item color class qty
123 black 1000 50
123 green 1000 10
item 123 total 60
456 white 1000 25
item 456 total 25
789 red 1000 75
item 789 total 75
class 1000 total 12458
Grand totals 285325
I would expect to see 160 as the class total.
Instead I am seeing 12458 which is the class total across all items within the class and 285325 as a grand total which is the grand total for all items instead of the selected items.
Any ideas on how to get the correct class and grand totals calculations? I am sure I am missing something simple somewhere.
Thanks,
Stacey