Mif Posted November 10, 2004 Posted November 10, 2004 I am looking to create a script to enable the modification of any of 12 fields labeled category 1.....through category 12 on the same layout. Instead of creating 12 scripts I'm thinking that I should be able to use one script with a parameter that would define the specific field but can't figure it out. Is this possible?
Garry Claridge Posted November 10, 2004 Posted November 10, 2004 You could use "Go to Field" to get to the first field and then "Go to Next Field" for the rest of them. (Just guessing.) Good Luck. Garry
transpower Posted November 10, 2004 Posted November 10, 2004 The script parameter would contain Get (ActiveFieldName), assuming you want to launch the script where your cursor currently is. This would be a good application for EventScript which can be launched when you leave the field, in which case you would directly use the field name as the parameter.
Mif Posted November 12, 2004 Author Posted November 12, 2004 That get(active fieldname) is great. My challenge is getting it to work in a "go to field" script.
-Queue- Posted November 12, 2004 Posted November 12, 2004 You mean something like Loop Go to Next Field Exit Loop If [Get(ActiveFieldName) = Get(ScriptParameter)] End Loop ?
Recommended Posts
This topic is 7579 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