B
Beeyen
Hello Users
I have a radio button, which when the option selected is Yes, it enters the
current date and time. I have been trying to write code that would also have
the yes selection enable two combo boxes (combo box ControlNames are
ProductionAssigned and QandALead) or remained disabled. It is not working.
Could someone explain what I am doing wrong?
Private Sub Exceptionsyesbutton_AfterUpdate()
If Me.Exceptionsyesbutton = True Then
Me.[Exceptions_Resolved] = Now()
Me.[ProductionAssigned].Enabled = True
Me.[QandALead].Enabled = True
Else
Me.[Exceptions_Resolved] = Null
Me.[ProductionAssigned].Enabled = False
Me.[QandALead.Enabled].Enabled = False
End If
End Sub
I have a radio button, which when the option selected is Yes, it enters the
current date and time. I have been trying to write code that would also have
the yes selection enable two combo boxes (combo box ControlNames are
ProductionAssigned and QandALead) or remained disabled. It is not working.
Could someone explain what I am doing wrong?
Private Sub Exceptionsyesbutton_AfterUpdate()
If Me.Exceptionsyesbutton = True Then
Me.[Exceptions_Resolved] = Now()
Me.[ProductionAssigned].Enabled = True
Me.[QandALead].Enabled = True
Else
Me.[Exceptions_Resolved] = Null
Me.[ProductionAssigned].Enabled = False
Me.[QandALead.Enabled].Enabled = False
End If
End Sub