This may seem crude, but should work. You could overlay several textboxes, one for each colour. Set all the textboxes properties:
[tt]
FontName: Webdings
FontSize: 77 (large)
Background: Transparent
ForeColor: (one color for each textbox)
[/tt]
Then for each textbox, set the ControlSource property:
[tt]
=Iif([avgStatus] >=1 AND [avgStatus] <2,"gggggggggggggg",""
[/tt]
That is, use the forecolor of textboxes for the different colours. The 'g' character of Webdings gives a solid square 'character' - you just need enough of them to fill the textbox.
Obviously I don't know your controls, but here's a thought.
Using the Switch function, could you say "if the status is between 1.00 and 2.00 it's red", and "if the status is between 2.01 and 3.00 it's blue", etc.
Maybe. Maybe not. You will know by your controls.
Tom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.