I have an image keywording database. I am using the calculation below to populate keywords into a button bar based on the contents of a field. The calculation below populates each keyword into a separate button in the button bar but I would also like to be able to employ a button function that allows the user to apply or remove that particular keyword from a field. I am just stuck on how to write a calculation!
Let ( ListedValues = Substitute ( CommaListField ; ", " ; ¶ ) ;
GetValue ( ListedValues ; 1 )
)
You don't need to "self-reference" because you can just go to the original source as you do when you populate the label.
Just pass the index (1,2,3...etc) in the script parameter. The script can then use the identical formula to determine the keyword.