I have an Access Continuous Form with some bound textboxes. I want to provide a visual indicator of the status of each record, so the textbox contains a value, either 0, 1 or 2 from the table. The conditional format turns this box either Green for 0, Yellow for 1, and Red for 2 including the text colour so the box is literally just a colour for the user.
I have disabled the textbox to prevent the user being able to click into the box and seeing that it is a textbox, but setting Enabled = False
to the properties seems to turn off with conditional formatting. I have then applied the Enabled
box in the Conditional Formatting but whilst that does disable the textbox, it turns off the conditional formatting, and if you lock it, it won't change the text colour.
Is there another control I'd be better off using here, or is there away to allow the textbox conditional format to work without the user being able to click into the textbox?
Locked
? – Foxfire And Burns And BurnsBackColor
property intact, but unfortunately changes theForeColor
to a default Grey/Black. – RazorKillBen