G
Guest
I have a button that will open another form on one of my forms. I have set
this buttons Enabled property to no. On AfterUpdate on a Check box I have
set the buttons enabled property to true.
Private Sub CarrierClaim_AfterUpdate()
cmdCarrier.Enabled = CarrierClaim
End Sub
That is working fine, but if I go to another record where CarrierClaim is
False (that is unchecked) cmdCarrier is still enabled. I need the button to
enabled and disable depending on the value of the CarrierClaim control.
Also - I would like it if when the button is clicked, a date is entered into
another control on the original form. In English, when cmdCarrier clicked,
enter current date into ProgressDate control.
Thanks.
this buttons Enabled property to no. On AfterUpdate on a Check box I have
set the buttons enabled property to true.
Private Sub CarrierClaim_AfterUpdate()
cmdCarrier.Enabled = CarrierClaim
End Sub
That is working fine, but if I go to another record where CarrierClaim is
False (that is unchecked) cmdCarrier is still enabled. I need the button to
enabled and disable depending on the value of the CarrierClaim control.
Also - I would like it if when the button is clicked, a date is entered into
another control on the original form. In English, when cmdCarrier clicked,
enter current date into ProgressDate control.
Thanks.