I have a query that returns a list of items. What I would like is to be able to display this on a form with an image (green/red circle) to indicate if the item is working or not. I’m not sure this is possible but if it is I would appreciate a pointer.
Example of form:
(Green) Truck1
(Green) Truck2
(Red) Truck3
(Red) Car1
(Green) Car2
You can set the contents of a textbox to a wingding and code the colour. In Access 2010, you can set the colour of a toggle button to a colour and if the toggle is bound to a YesNo data type the colour will change nicely.
Create a Continuous form based on the relevant query. I will assume that Working is a YesNo field.
Add a text box in a suitable position and set the control source to
="n"Set the font of the textbox to WebDings, set the colour of the font to red
Right-click and choose Conditional Formatting:
As you can see, I have chosen
Expression Isand entered the name of my YesNo field. I have then selected a font colour of green.Result