Ocean West Posted January 5, 2009 Posted January 5, 2009 Puppy Dogs and Wagging Tails... Up to now we have been able to target a single field with dynamic conditional data. (the wagging tail) Now we have the ability to targeting a field programatically and the data results as well. ( two wagging tails ) Since double clicking on the Set Field or Set Field By Name script step defaults to opening the first target field "specify" when we always wish for the second specify to be the default dialog. To put all the logic in the first "Target Field" Specify calc dialog using Let. Let ( [ $field = > $result = > ; ]; $field ) Then in the second calculation (non default ) put $result I suppose now you could make the data more abstract by moving your logic in to variable script steps, towards the top of your script and then simply in this script step use $field / $results as the value to be evaluated. I had tried to see if I could do the inverse by putting the logic into the second calc box and have the target field just evaluate $field but it seems that FM evaluates the first calc box first then it evaluates the second. Stephen
Steven H. Blackwell Posted January 6, 2009 Posted January 6, 2009 Please remember that for full dynamic capability when using event triggers you are going to need the fully qualified name of the field having the focus when the action starts. Steven
Recommended Posts
This topic is 5800 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