Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

page numbering

Featured Replies

OK, here is a question, about page numbering. I have a layout for printing customer bills. Now with some of the records the accounts slip to a second page or even a third page and id like to make it say 1of3 2of3 3of3 depending on how many pages the file is going o need to print. Any ideas on how this could be accomplished?

That method works if you are printing each customer's bill as a separate report. If you want to print all customer bills at once as a single report, it gets more complicated.

  • Author

yes actually, i want to be able to have a multiple report find, and be able to print a few invoices at once displaying the page numbers at the top

Then you will need to figure out how many records will fit on a page and then use that to determine the number of pages. You can use a couple of summary fields and some calculation fields to do it.

Global field: gRecordsPerPage, the number of records (line items) that will fit on a page

Summary field: sCount: count of CustomerNo

Summary field: srCount: running count of CustomerNo

Calculated field: cPages = Div ( GetSummary ( sCount ; CustomerNo )-1 ; gRecordsPerPage )+1

Calculated field: cRecordNo = Get ( RecordNumber )+(GetSummary ( sCount ; CustomerNo ) - GetSummary ( srCount ; CustomerNo ))

Calculated field: cPage = Div ( cRecordNo-1 ; gRecordsPerPage )+1

cPages gives you the number of pages for the current customer

cPage gives the current page number

cRecordNo gives the number of the current record for the customer (resets to 1 when the CustomerNo changes).

You can put cPage and cPages in the header or footer, and they will show the current page and page count.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.