detect changes on OnCalc Value
i had create a report with 2 main report that contains multiple subreport
inside.
At the same time i use the OnCalc value to get the Sum Amount from some
subreports where these subreports are located on one main report ....
the things is when i use this method in main report1 where it contain main
report 2 ( as subreport ) and main report 2 contains subreports ..the figure
start change while i view the report ..... i mean i would get the correct
value if i navigate the report at least twice ....
eg i have 4 pages of report .... i need to navigate page 1 to 4 then
navigate back to get the real value .....
any setting i might gone wrong ??
TIA
inside.
At the same time i use the OnCalc value to get the Sum Amount from some
subreports where these subreports are located on one main report ....
the things is when i use this method in main report1 where it contain main
report 2 ( as subreport ) and main report 2 contains subreports ..the figure
start change while i view the report ..... i mean i would get the correct
value if i navigate the report at least twice ....
eg i have 4 pages of report .... i need to navigate page 1 to 4 then
navigate back to get the real value .....
any setting i might gone wrong ??
TIA
This discussion has been closed.
Comments
printing for one master record. What you have to do is hook up the OnCalc in
the subreport to update a VariableN.Value in the main report (which doesn't
have an OnCalc assign). Essentially, use the detail subreport
Variable.OnCalc timing to calcuate a value in the main report. This is the
way to update values which are totaled across subreports. Here is an example
that shows a running total for all detail subreports.
http://www.digital-metaphors.com/tips/MDRapRunningTotal.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com