Okay, I am losing my mind here. I have a control that I want enabled/disabled based on other fields' values, both on Form_Current and [control]_AfterUpdate. In some instances, it works. It seems to be when the subform field Status = "Terminated" that it doesn't.
My code:
I thought maybe it was being undone when another subform, a sub-subform or the parent form was loading, but I couldn't find anywhere else in my code that this field was affected. I put it at the very end of the Form_Current event, but that didn't work. Then I just added a command button with the code:
Clicking that STILL DIDN'T WORK! I'm wondering if anyone knows of some field setting that may be affecting this.
Thanks!
My code:
Code:
' enable/disable fee notice
If Me.PricePlan = "No Fees" Or Me.PricePlan = "n/a" Or Me.Agreement = "NDA" Then
Me.FeeIncreaseNotice.Enabled = False
Else
Me.FeeIncreaseNotice.Enabled = True
End If
Code:
Me.FeeIncreaseNotice.Enabled = False
Thanks!