Hi everyone,
I'm trying to write an expression in the indicator field of a multistate indicator but it doesnt matter what i do it isnt giving me the result i was expecting. From reading other posts here i do believe it is possible but i cant work out why it isnt working on this occasion. here is the expression...
If ({S4\N10_13_0} == 1) Then 1
Else If ({S4\N7_80_10} == 1} Then 2
Else 0
It appears as though the first line of the expression is working as when i turn the first tag on it does show state 1. the rest of the time it shows error.
Could someone please shine some light on what it could be that is going wrong.
King Regards
I'm trying to write an expression in the indicator field of a multistate indicator but it doesnt matter what i do it isnt giving me the result i was expecting. From reading other posts here i do believe it is possible but i cant work out why it isnt working on this occasion. here is the expression...
If ({S4\N10_13_0} == 1) Then 1
Else If ({S4\N7_80_10} == 1} Then 2
Else 0
It appears as though the first line of the expression is working as when i turn the first tag on it does show state 1. the rest of the time it shows error.
Could someone please shine some light on what it could be that is going wrong.
King Regards