Skip 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.

changing a header title with a script

Featured Replies

  • Newbies

I'm relatively new to FM so this may be easy or it might not be possible. I have a script that finds and then sorts data for a report. What I want to know is there any way to use a script to change header text? Ideally this would be for a label only, I don't have any fields in the header.

BJH:

Welcome to the Forums.

The simplest way would be to put a field where your header text is, which you can then modify via a script, using SetField[]. You can then also modify it manually, if you wish.

-Stanley

Hi,

I'm begginer too and I going through same problem. If you can explain this with example and little bit more detail I really appreciate.

Thanks

Rog

Put a global text field in the header to hold the title. You can set it in a script using Set Field [globaltextfield; "desired title"] or allow users to specify their own title by putting the field on a separate layout, going to that layout and pausing, then continuing to the report layout, where the user-entered title will then appear in the header. It is probably easiest to make it a merge field with its dimensions formatted as large as possible for a single page, then centered.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.