Hello,
I wrote this code but doesn't seem to work. I have a combobox (Combo565) that has a drop down list. I also have a check box (LetterRecieved) on a form. I am trying to lock down the combo box when value "3. Oracle Order Sent" and the check box is NOT checked. Once the user receives the letter they would check the check box and the combo box would unlock and allow the user to continue with the next steps.
Here's what I have so far. Any thoughts?
I wrote this code but doesn't seem to work. I have a combobox (Combo565) that has a drop down list. I also have a check box (LetterRecieved) on a form. I am trying to lock down the combo box when value "3. Oracle Order Sent" and the check box is NOT checked. Once the user receives the letter they would check the check box and the combo box would unlock and allow the user to continue with the next steps.
Here's what I have so far. Any thoughts?
Code:
If Me.Combo565 = "3. Oracle Order Sent" And Me.LetterRecieved = False Then
Me.Combo565.Locked = True
Else
Me.Combo565.Locked = False
End If