Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7221 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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.

Posted

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

Posted

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.

This topic is 7221 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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