Navigation:  Contents > Bands > Data bands >

StimulReport.Net User Manual

Print this Topic Previous pageReturn to chapter overviewNext page

List with footer

Except data and data headers data footers are used. In footers you can find variety of totals. Let view how to add a footer to the list. For this use the Footer band. This band is positioned after the Data band. By default the Footer band is printed after all data will be outtyped. Add the Footer band to the page. On the band put one text component. Suppose this text component will summarize the number of strings being outtyped.

 

The template of a report with use of the Header and Footer bands.

 

When rendering the report generator adds the Footer band to the report once after all data being outtyped.

 

Rendered report with the data footer.

 

Also, like the Header band, you can create unlimited number of Footer bands. Bands will be outtyped in the same order as they were put on a page.

Notice. For one Data band you can create unlimited number of Footer bands.

 

The PrintOnAllPages property

Sometimes you need the Footer band will be outtyped not in the end of a report but on every page. For this use the PrintOnAllPages property of the Footer band. Set this property in true and the Footer band will be outtyped on every page.

Notice. Set the PrintOnAllPages property in True and the Footer band will be outtyped on every page.

 

The KeepFooterTogether property

When outtyping reports with lists, all data may be in bounds of one page and the footer band may be out of it. And the footer will be carried out on the next page. In this situation use the KeepFooterTogether property of the Data band. If this property is True then footers will always be printed with data together. In other words if the footer is out of page bounds and rest of data are in page bounds then the footer will be carried out on the next page with one data string.

Notice. For avoiding data footer output and the last string on different pages use the KeepFooterTogether property.

Samples of reports

Demo, report: Simple List