November 10, 200421 yr 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?
November 10, 200421 yr 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
November 10, 200421 yr 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.
November 12, 200421 yr Author That get(active fieldname) is great. My challenge is getting it to work in a "go to field" script.
November 12, 200421 yr You mean something like Loop Go to Next Field Exit Loop If [Get(ActiveFieldName) = Get(ScriptParameter)] End Loop ?
Create an account or sign in to comment