combo boxes enabled

R

Ryan W

I have two cbo boxes that I would like to have disabled on form load, but
when the user clicks a chk box, the after_update will enable the two
cboboxes. What would my code look like?

Thank you
 
G

Graeme Richardson

Hi Ryan, in the AfterUpdate event of the checkbox, place the code

cbo1.Enabled = chk ' where chk is the name of the checkbox control
cbo2.Enabled = chk

Graeme
 

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

Top