Entries Amount on the Page

Total property of the DataBand can be used in order to count the entries located on the page. One can define count function in the Collection Editor in the following way:

PageFooter including Textbox element is used in order to output entries amount. Text property is set in PageFooter.GenerateScript:

if (Engine.IsDoublePass)
        textBoxFooter.Text = "Records " + 
        dataBand5.GetPageTotal("Count") + " of " + 

One should set DoublePass property of the document to True in order to calculate entries.

 Template   Report  

Add Feedback