Help with complex report layout
ActiveReports 6 Support
Help with complex report layout
03-11-2010, 7:33 AM
I am grouping on 5 different items and need to run a total for each group in the footer. Right now I"m starting with the inner most group. I'm posting here because I can't seem to find any examples, direction, or options for anything other than a fairly basic report.
My current task is simple enough but I'm fairly new to ActiveReports and this code was written by someone who has left the company.
Here is my issue:
I have my data rows in the details section and they are what they should be. In the footer for the detail section I have three long text boxes that span the width of the report and I create smaller text boxes and add them for each column of the report for totaling.
thanks,
Paul
Re: Help with complex report layout
03-11-2010, 10:40 PM
Hello,
You can use
Summary Fields
to calculate the value of inner most group but for the outer groups you need to perform calculation in the group events.
Please find attached sample which shows these calculation up to two levels. Similarly you can also use the GroupHeader_Format and the GroupFooter_Format event to perform calculation up to desired levels.
Do let me know if you need further assistance.
Regards,
Ankit Nigam