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

Change name of a field in a layout using a script ?


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

Recommended Posts

Posted

Is it possible to specify the name of a field to be printed on a report layout using a script ?

I have a report that has to be printed 6 different ways. The 6 reports are almost identical, where the only difference resides in the name of 1 field that changes in each of these reports. So I would like to create only 1 layout instead of 6, and use a script (or whatever technique appropriate) that would get the proper field name to print, based on a selection made by the user.

Is this possible ?

Thanks.

Posted

Yes It is possible.

All you need is a global and a calc field.

Make the calc field be unstored = GetField( YourGlobal ) and set the Global field equal to your field name.

This topic is 6558 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.