diabling fields based on check box

  • Thread starter Thread starter Phil
  • Start date Start date
P

Phil

I have a form with several sections, each of which is
only relevant if certain check-boxes are selected. Is
there a way to have the fields in each section made
unavailable (gray, can't select, can't change) when the
relevant check box is not checked?
 
Sure... you just need to decide when to run the specific programming code
that will do this for you.

The code step is fairly straightforward when using a checkbox control's
value as the determining factor:

Me.TextBoxName.Enabled = Me.CheckBoxName.Value
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top