Does this make sense?
I have the following code in an action script (mouse clicked) in a list box.
If I use it as is, I see the correct string in SQLTag TempTag2. However, if I use “index1” rather than “index2” in the “query = …” statement, I get an error.
index1 = event.source.parent.Selected_Index + 1
index2 = fpmi.tag.getTagValue('[client]TempTag1')
query = " AND group_order = \"" + index2 + "\""
Selected_Index is an integer dynamic property containing the Selected Index property from a list box.
TempTag1 and TempTag2 are string tags.
It appears that the “indexX” value is getting cast to string when it goes through TempTag1, but not cast correctly if it goes directly to the “query =…” instruction.
Is this the correct conclusion, or is something else going on? Thanks.