I want to change the color, OR, Visability of a component based on a DB value.
I want to change the background color of a Rectangle if a DB entry is set at 1 (or perhaps zero)
I also want to make an item visable if the DB entry is a 1 (or perhaps a 0)
I’ve reviewed the posts here and can’t seem to find anything close. I think what I want to do is use a query to get the DB data, then with a script, look at the value the DB returned, the set the properties accordingly.
THE QUESTION - HOW DO I DO THIS? A brief sample script would go a long way to help me.