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.

Print After Given Number of Occurances?

Featured Replies

I'm having a problem getting a subsummary part to print after the body portion of a report. The body of the report has been set to page break after a given number of occurances (14 lines only, so it fits on the page OK). But the subsummary then prints on the next page. Is these a way to lock the subsummary part so that it will always print at the same location on my report.

Thank You!

create a calculation field (for example #break_after_14 with the calculation:

Int((Status(CurrentRecordNumber)-1)/14)

Be sure to set it to UNSTORED.

Set the (trailing) subsummary to sort on the field #break_after_14

Disable in the BODY part-section the 'page break after ?? occurence

ENABLE in the SUBSUMMARY part-section the pagebreak after each 1 occurence.

This will do what you want.

The calculation field mentioned has the value 0 as long as the 15th record is not printed. After the 14th record the value changes to 1, after the 28th record to 2 etcetera. The change of this value makes the page-break.

Tip: when you assign the value 14 to a developer-changeable global, you (or the user) has easy control on the number of items printed on one page.

Harryk

Create an account or sign in to comment

Important Information

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

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.