Add Page Numbers and System Information to a Report

<< Click to Display Table of Contents >>

Navigation:  User Interface Reference > Report Designer > Report Designer for WinForms > Report Editing Basics >

Add Page Numbers and System Information to a Report

Interface Elements for Desktop > Report Designer > Report Designer for WinForms > Report Editing Basics > Add Page Numbers and System Information to a Report

This document describes how to insert page numbers or other system information (e.g. current date and time, user name, etc.) into a report.

Generally, this information is displayed within the Page Header and Footer or Page Margin bands. To add page numbers or system information to a report, locate the Control Toolbox and drag and drop the Page Info control.

img8518

Then, follow the instructions below for your specific task.

Add Page Numbers

Add System Date and Time

Add the User Name

ExpandedCollapsed Add Page Numbers

1.Select the Page Info control, click its Smart Tag, and in the invoked actions list, expand the drop-down list for the Page Information entry.

img8535

Select whether to display only the page number (Latin or Roman - uppercase or lowercase), or the current page number with total pages.

2.To format the control's text, via its Smart Tag, invoked its actions list, and specify the required format (e.g. Page {0} of {1}).

img8536

3.Using the control's actions list, you also can specify the starting page number, and the running band (e.g. this option is available when there are groups in a report, and it's required to apply independent page numbering for them). For details on this, refer to Add Page Numbers for Groups.

The result is shown below.

img8537

ExpandedCollapsed Add System Date and Time

1.Select the Page Info control, click its Smart Tag, and in the invoked actions list, expand the drop-down list for the Page Information entry, and select Current Date and Time.

img8522

2.To format the control's text, via its Smart Tag, invoked its actions list, and specify the required format. You can either type it in the Format field, or, click its ellipsis button and use the Format String Editor.

img8524

The result is shown below.

img8523

ExpandedCollapsed Add the User Name

1.Select the Page Info control, click its Smart Tag, and in the invoked actions list, expand the drop-down list for the Page Information entry, and select User Name.

img8519

2.To format the control's text, via its Smart Tag, invoke its actions list, and specify the required format (e.g. Current User: {0}).

img8520

The result is shown below.

img8521

ExpandedCollapsed See Also

Create or Modify Watermarks of a Report

Add Page Numbers for Groups

Copyright (c) 1998-2016 Developer Express Inc. All rights reserved.

Send Feedback on this topic to DevExpress.