Conditional formatting on a control within a form in access 2010

In the detail section of the form, I want to disabled the control labeled "HoursQty" based on the control "RateOnlyInd" using a conditional formatting rule.

Controls on the form are:     ServiceTxt            RateOnlyInd     HoursQty     RateAmt
Service1            True
Service2            False
Service3            False
Service4            True
Service5            True

I have tried:
[HoursQty].[Enabled]= ([RateOnlyInd] = True)
Sue TippettData Modeler, DBA, DAAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rey Obrero (Capricorn1)Commented:
how did you set the conditional formatting?

- select HoursQty then select conditional formatting

use expression is  [RateOnlyInd] = True , then click the enabled button

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
crystal (strive4peace) - Microsoft MVP, AccessRemote Training and ProgrammingCommented:
for conditional formatting, select the control(s) to format in design view. On the Format ribbon choose Conditional Formatting, then New Rule (or Edit Rule), choose Expression Is and then specify a rule like [fieldname] <> True -- then  click Enable (toggle to disable) as a conditional format

For the expression, you can join crieria such as [fieldname1] <> True AND [fieldname2] =True ... and so on ...
Sue TippettData Modeler, DBA, DAAuthor Commented:
Thank you both for a quick response.  Time constraints sometimes cause lapse in memory.
crystal (strive4peace) - Microsoft MVP, AccessRemote Training and ProgrammingCommented:
you're welcome ~ happy to help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.