Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenUtilities
  • Product Communities
  • More
OpenUtilities
OpenUtilities Wiki Report Page Number Format
    • Sign in
    • +OpenUtilities
    • +Bentley sisHYD Multi Utility
    • Design Features - promis.e Functionality - Promis.e Standard
    • +OpenUtilities Substation
    • Promis.e Paths
    • -Promis.e Wiki
      • +CONNECT Edition - Promis.e
      • About Promis.e
      • +Administration Features - Promis.e
      • +APIs_VBA - Promis.e
      • +Automation Features - Promis.e
      • +Component Features - Promis.e
      • +Component Management - Promis.e
      • +CONNECT Services - Promis.e
      • +Data Manager - Promis.e
      • +Database Platform Support - Promis.e
      • +Display - Promis.e
      • +Drawing Management - Promis.e
      • +Engineering Design Considerations - Promis.e
      • Error - Object reference...General
      • +Find_Replace - Promis.e
      • Finding the Tutorial
      • +Installation_Configuration - Promis.e
      • +Interoperability - Promis.e
      • +Licensing - Promis.e
      • +Maintenance Features - Promis.e
      • +Migration - Promis.e
      • +OS Support - Promis.e
      • +Panel Layout - Promis.e
      • +Performance - Promis.e
      • +PowerPlatform Support - Promis.e
      • +Print_Publish Features - Promis.e
      • +ProjectWise Integration - Promis.e
      • Promis.e Help file
      • +Reports_Output Features - Promis.e
      • -Template Management - Promis.e
        • +Graphical Plan Template Designer - Template Management - Promis.e
        • -Report Template Designer - Template Management - Promis.e
          • Add leading zeros to numbers on reports
          • Before Print scripts for report templates
          • Concatenating fields on report templates
          • Control number precision on reports
          • Desired Data Field Not Listed in Report Template Designer
          • Display current date and time on reports
          • Quantified BOM report with device IDs on a single line
          • Removing Terminal CP Text from Wire Lists
          • Replacing caret characters on reports
          • Report Page Number Format
          • Report Template Designer
          • Rounding up quantities on BOM reports
          • Sortable Quantified BOM Report
      • +Text Tools - Promis.e
      • Training FAQs
      • +Wire Numbering - Promis.e
      • +Wiring Features - Promis.e
      • +Project Management - Promis.e
      • Promis.e Title
      • Working from home with Promise.e
    • Replace Family - Find_Replace - Promis.e
    • SQL Server Login

     
     Questions about this article, topic, or product? Click here. 

    Report Page Number Format

      Product(s): Promis.e, Bentley Substation
      Version(s): through 08.11.13.73
      Environment: N/A
      Area: Template Management
      Subarea: Report Template Designer

    Background

    The report templates supplied with Promis.e and Bentley Substation will list the page number and total page count when output to various formats.  The information is typically displayed at the bottom of each page in a “Page x/y” format where x is the page number and y is the total page count.  

    This document describes how to display the page number and total in a “Page x of y” instead of “Page x/y” on reports.

    Steps to Accomplish

    Refer to the animation below when following this procedure.

    1. Open Report Template Designer.

    2. Select File > Open and open the report template to be modified.

    3. If creating a report template from scratch, drag a PageInfo control from the Standard Controls area of the Tool Box (View > Windows > Tool Box) to the desired area of the template.  The PageInfo control is typically placed in the Bottom Margin band.  If there is already a PageInfo control for page numbering on the template, click on it in the Designer view.  In the Designer view, such a control looks like a box containing the text “1/1”.

    4. Click the > arrow that appears on the upper right of the box for the control placed on the template.  This should reveal an XRPageInfo Tasks pop-up.

    5. On the XRPageInfo Tasks pop-up, set the Page Info field to “NumberOfTotal” if it is not set to that already.

    6. Enter "Page {0} of {1}" (without quotes) into the Format field.  If there is already a text box nearby containing the text “Page:”, either enter “{0} of {1}” into the Format field or delete the "Page" text box.

    7. Click off or right-click the box for the control placed on the template to close the XRPageInfo Tasks pop-up.

    8. Use the Property Grid to set properties such as font style and size for the PageInfo control.

    9. Preview the report. It may be necessary to resize the control to fit all the text.

    The important part of the text entered into the Format field in step 6 are the {0} and {1} variables. The {0} variable will always be populated with the page number and the {1} variable will be populated with the total page count. The other text in the Format field is not necessary and can be changed or rearranged to suit.

    It is also possible to place separate PageInfo controls for the page number and total count. For example, one control could have a Format value of “Page: {0}” and another could have a Format value of “Total: {1}”

    External Links

    DevExpress Page Numbering documentation
    http://documentation.devexpress.com/#XtraReports/CustomDocument5203

      Original Author: Matt_P
    • Template Management
    • video
    • promis.e
    • how to
    • Report Template Designer
    • Customization
    • Bentley Substation
    • en
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Matt_P Created by Communities MVP Matt_P
    • When: Fri, Jan 20 2012 6:05 PM
    • Siddharaj Talawar Last revision by Bentley Colleague Siddharaj Talawar
    • When: Fri, Apr 3 2020 9:49 AM
    • Revisions: 11
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies