hbecerra Posted April 27, 2006 Posted April 27, 2006 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 ?
Ender Posted April 28, 2006 Posted April 28, 2006 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 )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now