I was wondering, i have been trying various things and I would like to know if this is the most efficient way of doing a certain task.
The task is I have two SQL tags for each of the containers on a page within PMI. Depending on the state of these tags would determine the color of the container. So if you think of it in boolean there is 4 possible combinations, 00, 01, 10 and 11. What I have done is within each container I have taken and made a customized item. The item is set as an Integer. Then within the expression for this customized item I have the following:
The color of the container is then set 0 is red, 1 is green and 2 is yellow.
It seems to work just fine but was wondering if this is the best solution.
Thanks and have a great day.