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.

Alternatives to a sliding footer?

Featured Replies

  • Newbies

So here's a question i can't seem to find an answer to after a cursory search.

I have a join table that i'm using to print a list of results, it consists of a body with the records, and a footer with a couple summary fields of the data on that page (total wages paid, etc). Now this all works great, except on the last page of any printout, there's this huge gap between the last record and the footer.

Now, i know i can't have the footer slide up to meet the last record...but is there any other way to achieve the same effect? It really would make the output much more attractive.

I'm using FM 6.0 for Mac.

Thanks in advance!

Octavian

What you want to appear would work as a Trailing Grand Summary part. The trouble is that the Footer would also appear. One way to "hide" it is to cover it with a calculated container field that is only filled on the last page of the report.

You need a couple global fields first: _gPageNum (number) and _gBlankContainer (container).

Paste a white square in _gBlankContainer, and set Format, Graphic Options to reduce/enlarge, no proportion.

Create a calculation field: _cgBlankContainer, =

Case (_gPageNum = Status(CurrentPageNumber), _gBlankContainer, "")

Place this field over the fields of the Footer. Field Format to "no entry."

Also set Graphic Options to reduce/enlarge, no proportion.

The printing script needs these additional steps.

Go To Layout ["Print layout"]

Enter Preview Mode [] <-- no pause

Go To Record/Request/Page ["Last"]

Set Field ["_gPageNum", "Status(CurrentPageNumber)"]

Go To Record/Request/Page ["First"]

Whatever, preview, print

(P.S. _gPageNum can also be used to show the total page count, i.e., Page ## of _gPageNum.)

  • Author
  • Newbies

This worked perfectly, thanks so much! I'm loving this program more and more as I delve into it's intricacies.

Can't wait for version 7!

Octavian

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.