Nested groups
When reports rendering you may use more than one grouping. For this you should put the required number of GroupHeader bands before the DataBand. After the Data put either the same number of GroupFooter bands or less. To each GroupHeader band you should specify the criterion of grouping. When rendering GroupHeader bands are processed in order of their position on a page – top-down. The topmost band is processed first then the one beneath etc. When GroupFooter bands positioning you must remember that the last GroupFooter band corresponds to the first GroupHeader band.

It is recommended to have equal numbers of GroupHeader and GroupFooter bands. If the number of GroupFooter bands is higher than GroupHeader bands then GroupFooter bands which are positioned lower than other ones will be used. Other bands will be ignored. If the number of GroupFooter bands is less than GroupHeader bands then the lowest GroupHeader bands which are positioned closer to the Data will be output without footers.
Important! We recommend you to have equal number of GroupHeader and GroupFooter bands in you report.