Solved

How to get the label back color to change if the check box is TRUE?

Posted on 2014-09-16
3
399 Views
Last Modified: 2014-09-16
I have 24 check boxes that I am working with. If the check box is "TRUE" I want the lable back color to change color.
I attached a simple DB and image to better explain this problem.

I have tried may ways to get the label back color to change, but can't do it.

Any help is appreciated.
LabelColor.jpg
Database9.accdb
0
Comment
Question by:cssc1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 250 total points
ID: 40325266
I don't believe you can directly.

You could use a Toggle Button, and have different colors depending on whether you have clicked it or not (you can change the Pressed Color properties).

Alternatively, if you have to use a check box, you could use Format - Conditional Formatting to change (say) the ID Text box to a different color, based on the contents of the check box, but you can't use Conditional Formatting on Checkboxes or Labels.
0
 
LVL 37

Accepted Solution

by:
PatHartman earned 250 total points
ID: 40325390
If you change the label to a textbox, you can get the conditional formatting to work.
0
 

Author Closing Comment

by:cssc1
ID: 40326457
thanks
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question