G
Guest
I have a 'Verify' button on a form. When I click the button, I want it to
check if the value of a yes/no field is true and the value of a date field is
null, then to show a message box saying that the user forgot to enter a date.
I can't seem to get it to work. Please help. Here's what I'm trying to
type:
If dc.value = true and dcpostdate.value = null then Msgbox "You forgot the
posted date"
End If
It shows the value of dcpostdate is null but the code does not return the
message box. I have tried setting the default value to null and it doesn't
work.
check if the value of a yes/no field is true and the value of a date field is
null, then to show a message box saying that the user forgot to enter a date.
I can't seem to get it to work. Please help. Here's what I'm trying to
type:
If dc.value = true and dcpostdate.value = null then Msgbox "You forgot the
posted date"
End If
It shows the value of dcpostdate is null but the code does not return the
message box. I have tried setting the default value to null and it doesn't
work.