So just a little bit of background with what I'm attempting...
Referring to the following thread, I've been able to take values from a set of check boxes, and use this to populate a multi-value token in one of my fields.
But now my question is this - how can I take a set of checked/unchecked values for a multi-token field and convert this to something else? For example, if the first check box is associated with one value (in this case an injury to a certain body part), the second another, and so forth, how could I translate the true/false (checked/unchecked) values to something else?
The first thought that came to mind was to run the multi-valued field through a "For Each Row" activity, but it seems like with doing this, I'd have to have a multiple If statement, which basically says, "If the first value is true, assign this; if the second value is true, assign this" (and so on). I also thought of possibly populating a database table with the various values (each matching a column name), and from there running through each checked value, and if true, returning the value of that column? (This idea coming from these two posts: Post #1, Post #2)
Please let me know if I'm on the right track, or if I'm completely out to lunch on this - thanks!
Marty Gaffney - Network Technician
Town of Okotoks
@ablfguy