hi folks,
@CC : there is the report grouped with x,y,z and displaying based on 'CurrReport.TOTALSCAUSEDBY = z'.
In GroupFooter : OnPreSection - there is code to reset (to make 0) variables.
@RTC : i able to group like CC and also got same set of records, but my Group Total missmatching.[i hope its just because of reseting the variables in CC which will not work in RTC (onPresection codes) ].
I was trying to replicate the same coding for RTC and could not achieve it. (moving OnPreSection code to OnAfterGetRecord() [to reset those variables for RTC] )
I donk know, how to set same scenario for 'TOTALSCAUSEDBY' on OnAfterGetRecord to reset.
Can anyone please give your inputs to solve this issue.
Comments
It may help you... :thumbsup:
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
there s no report like this scenario ( i hope , ..
in CC : actually for each group(On presection codes) it will reset or add calculation based on condition..
my doubt is how to take care those codes(resetting values) which is falling Under TotalCausedBy :-k .....
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
ZZZ, GroupFooter (1) - OnPreSection()
CurrReport.SHOWOUTPUT ((CurrReport.TOTALSCAUSEDBY = FIELDNO (x));
IF CurrReport.SHOWOUTPUT THEN BEGIN
IF (A = 1) THEN
Acum() // its function
ELSE
ResetValues; // its function which ll clear values
AcumAll(); // its function which ll add values
END;