C
Curaçaoboy
Guest
Hi,
I am using a if statement to detect if a field is blank. And if it is blank a msgbox will show up.
I have tried it with = Null,= Empty, ="" . But none of the works
I know that it is possible,but I don't know how.
Any advice??
If Me![TxtStartDate] = " " Then
MsgBox "You need to enter a begin date"
Else
DoCmd.SetWarnings False
EndIf
I am using a if statement to detect if a field is blank. And if it is blank a msgbox will show up.
I have tried it with = Null,= Empty, ="" . But none of the works
I know that it is possible,but I don't know how.
Any advice??
If Me![TxtStartDate] = " " Then
MsgBox "You need to enter a begin date"
Else
DoCmd.SetWarnings False
EndIf