I have a checkbox that is not checked and I am checking the value of it in the code with an if statement. I keep getting this error "You entered an expression that has no value."
I am stumped. I have used this format before and it works, but for some reason, it is not working now. Here is the code I am using. I have also tried the .value after the field and using 0 instead of True.
Any help would greatly be appreciated.
I am stumped. I have used this format before and it works, but for some reason, it is not working now. Here is the code I am using. I have also tried the .value after the field and using 0 instead of True.
Code:
If Me.chkMealPlanStatus = True Then
Me.CompleteWeekbtn.Enabled = True
Else
Me.CompleteWeekbtn.Enabled = False
End If
Any help would greatly be appreciated.