I’m a little confused (not an unusual state) re quality overlays.
Here’s what I want to do. I have a word containing bits of status data. All the bits are parsed out into SQLTags. However, I don’t want to display the value of the bit; rather I want to display a colored dot, one color when the bit is on, another when it’s off (the colors being queried from a lookup table). All that is done, although I wouldn’t claim that there’s not a better way.
In addition, I want something (the dot, the container that it’s in, etc) do display a quality overlay. I saw the ‘quality’ property of the SQLTag, and the expert ‘data quality’ property of the component (dot, etc) and thought I could simply bind one to the other. However, they are of different data types and can’t be bound.
I do see that I can control the component ‘quality’ value as an integer, and thereby control the overlay. I presume that there isn’t a canned way to cast the SQLTag ‘DataQuality’ data type to integer for the component.
Is there some other relatively direct way?