I'm pretty sure someone has shared a solution but I haven't been able to find it on the forums.
I'm trying to set a string tag based on an error code integer. At this point I figured using a dataset would be pretty easy as anyone can manually enter the values into the dataset. I also assume that a value change script on the integer tag that sets the string tag is the correct way; if I'm wrong, I will happily use other suggested methods.
My initial idea is to get the range of the dataset and iterate through the first column with an if statement, and set the text string equal to the second row if the first row code matches the integer value. unfortunately I am just starting out with the syntax and don't really know how to structure it. Any help would be appreciated. I'll update this as it progresses.