Displaying Page Numbers and Current Date

Top  Previous  Next

Advanced: Displaying Page Numbers and Current Date

Top Previous Next

 

The Report Designer includes a control for displaying information such as the current page number and the current date.

 

The PageInfo control is a special type of label control, Drag it anywhere on the report then set the PageInfo property to specify the information you wish to display and the Format property to specify the format.

 

 

_img39

 

 

_img40.zoom77

 

_img41

 

The Format property has an ellipsis button which displays the following dialog to assist in setting a format.

 

The “NumberOfTotal” setting uses a format where “{0}” specifies the current page and “{1}” is the total pages, therefore a Format value of “{0}/{1}” would yield a display like “1/20”, “Page Number {0} of {1}” would give “Page Number 1 of 20” and so on.

 

_img42