Header, footer, master detailed report

The principle of using header and footer bands in master/detail reports is the same as for simple lists. From the HeaderBand1 band placed above the DataBand1 band to the next DataBand2 band all belong to this DataBand1 band. The HeaderBand is placed on the page above the databands that output the data rows. A HeaderBand always references a specific DataBand. This band is usually the first data band below the HeaderBand.

The figure above shows the structure of a master/detail report with two DataBand bands.