I have a report that uses a shared variable from a subreport. The amount returned to the main report from the shared variable on the subreport duplicates the value for each field that are zero. This is the formula:
WhilePrintingrecords;
Shared numberVar intX;
intX:= Sum ({@NET}, {@CONVERT})
This is a sample of the result:
GL NUM AMT Budg Vari
600.0200 5758.00 5900.00 -142.00
601.0200 5758.00 0.00 5758.00 (AMT should be 0)
602.0200 5758.00 0.00 5758.00 (AMT should be 0)
603.0200 25.00 50.00 -25.00
etc.
Any thoughts on how to suppress this other than using the suppress if duplicated function since the Variance field is based off a formula.
Thanks,
BV
WhilePrintingrecords;
Shared numberVar intX;
intX:= Sum ({@NET}, {@CONVERT})
This is a sample of the result:
GL NUM AMT Budg Vari
600.0200 5758.00 5900.00 -142.00
601.0200 5758.00 0.00 5758.00 (AMT should be 0)
602.0200 5758.00 0.00 5758.00 (AMT should be 0)
603.0200 25.00 50.00 -25.00
etc.
Any thoughts on how to suppress this other than using the suppress if duplicated function since the Variance field is based off a formula.
Thanks,
BV