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

Merge field as another field


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

Recommended Posts

Posted

Can I use a merge field with a funtion like GETFIELD("KON"+$mes) so it act as another field ? if not can I use another way to acomplish that ?

Posted

Sure, you can do that. Keep in mind that script variables with a single $ are only available while the script is running. If you want the variable to persist, use a variable defined with two $'s, as in '$$mes'. Also, while this works fine for extracting data from a dynamic field name, it may not show the dynamic field contents unless you add a Refresh Window[] step after setting the variable in the script.

You could also use a global for the field name, which doesn't have the refresh issue:

getfield("KON" & gFieldName )

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