G
Guest
I am using Access 2000 and would like to know if someone could please correct
the following. I have two fields: KeyWord (a text field) and Merge (a
checkbox). For any record where Merge is checked, I would like to have be
reminded to enter a Key Word if I have left it blank.
Any help would be greatly appreciated. Thanks!
====
'If any record has a check mark for Merge and does not have an entry for
KeyWord display message box reminder
'If all records have an entry for KeyWord when Merge is checked then close
form
If (IsNull(KeyWord) = True) And (IsNull(Merge) = False) Then
MsgBox "Please Enter a Key Word"
MergeWord.SetFocus
Else
DoCmd.Close
End If
the following. I have two fields: KeyWord (a text field) and Merge (a
checkbox). For any record where Merge is checked, I would like to have be
reminded to enter a Key Word if I have left it blank.
Any help would be greatly appreciated. Thanks!
====
'If any record has a check mark for Merge and does not have an entry for
KeyWord display message box reminder
'If all records have an entry for KeyWord when Merge is checked then close
form
If (IsNull(KeyWord) = True) And (IsNull(Merge) = False) Then
MsgBox "Please Enter a Key Word"
MergeWord.SetFocus
Else
DoCmd.Close
End If