Hi,
I am having a crazy problem. I have two groupings, A and B, with B nested within A.
I am trying to keep a running total of distinct record ids within B. To do this I imagine I need to initialize a global variable to zero in the header (before section) of Group A, increment it in the header of Group B, and then spit out the variable value in the footer (after section) of Group A.
Seems like simple logic...but, using message boxes I'm noticing that no matter what methods I choose, the Group A header fires first, the Group A FOOTER fires next, and THEN the Group B detail lines loop. How is it that the report jumps from the header, to the footer, and THEN the nested group details??
This seems completely backwards to me, and working this way I can not keep a manual running total accurately.
Please any help would be greatly appreciated...am I missing the correct methods to override that would fix this problem?
Thanks,
Dave
I am having a crazy problem. I have two groupings, A and B, with B nested within A.
I am trying to keep a running total of distinct record ids within B. To do this I imagine I need to initialize a global variable to zero in the header (before section) of Group A, increment it in the header of Group B, and then spit out the variable value in the footer (after section) of Group A.
Seems like simple logic...but, using message boxes I'm noticing that no matter what methods I choose, the Group A header fires first, the Group A FOOTER fires next, and THEN the Group B detail lines loop. How is it that the report jumps from the header, to the footer, and THEN the nested group details??
![[evil] [evil] [evil]](/data/assets/smilies/evil.gif)
Please any help would be greatly appreciated...am I missing the correct methods to override that would fix this problem?
Thanks,
Dave