carlocas Posted January 21, 2006 Posted January 21, 2006 Is there a way to specify the field you want to modify by a calculation (if you have the name of the field stored in a variable for example) ? Thank you
Wim Decorte Posted January 22, 2006 Posted January 22, 2006 Nope. The closest you can get without hard coding a massive IF() clause is to have a layout with the fields you might target on it, set in a tab order so that tabbing will go each field in turn. Your script goes to that layout, goes to field (which will cause it go to the first field in the tab order) and starts a loop: - check with "get(activeFieldName)" if it matches your target field - if yes, set the field and exit the loop - if not, go to the next field
drbott Posted January 22, 2006 Posted January 22, 2006 You can choose a layout by a calculation. So you could put a single field in a layout and get to it that way. You can also choose a field repetion by a calculation so while you can't choose the field, you could choose which repetion in your calculation and then later move the data from the repetion to the place you need it. All kinda hacky but hopefully some combination of these will get you what you need.
Recommended Posts
This topic is 6944 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