Disable checkbox until a selection is made
I'm trying to set up an Access 2003 form with a number of combo boxes, a checkbox and a command button. I'd like to set up the checkbox so that it is enabled only after the user makes a selection from each of the combo boxes. The command button will be enabled only if the checkbox is checked. Optimally, I'd like to have the checkbox greyed out until it's available. Anyone have a solution for something like this? This is the sub I've been calling in Form_Load and AfterUpdates:
Private Sub EnableCheck()
If Me.cbo1 = Null Or Me.cbo2 = Null Or Me.cbo3 = Null Or Me.cbo4 = Null Then
Me.chkConfirm.Enabled = False
Else
Me.chkConfirm.Enabled = True
End If
End Sub
|