Configuring bands

Top  Previous  Next

You can configure the bands in the "Configure Bands" window. It can be called from the "Report|Configure Bands..." menu or with the help of the "Configure bands" button, placed over the bands tree:

 

configureBandsDetails

 

In this window, it is possible to add bands into the report, delete them or change their order. To add a band, click the "Add" button or  right click on band tree. A context menu will come up containing a list of bands. A band which cannot be added is dimmed.

 

configureBandsMenu

 

The "Add" operation depends on what band was chosen in the band tree. For example, adding "Data Header" and "Data Footer" bands is possible only if the "Data" band was selected beforehand.

 

There is also another way of configuring some bands. This can be done from the "Report" menu:

 

reportMenu

 

To delete a band, select it and press "Delete" key.

 

When configuring bands, FastReport does not allow to do operations which leads to the creation of a wrong report template. For example, you cannot delete the "Data" band, which is connected to the group - for this, the group needs to be deleted first. Another example, when deleting the "Data" band, its header and footer are deleted automatically. Also, it is not possible to delete a band if it is the only one on the page.