Hi all,
How can I change the following code so that it looks for all entries that are blank. eg in this code the Reason__letter_not_Posted = n/a. I want to change it to blanks or empty
Private Sub Reason__Letter_Not_Posted__Exit(Cancel As Integer)
If Letter_Posted = "No" And Reason__Letter_Not_Posted_ = "N/A" Then
MsgBox "Please supply a valid reason for not posting this letter."
Me.Letter_Posted.SetFocus
End If
End Sub
Thanks a lot
How can I change the following code so that it looks for all entries that are blank. eg in this code the Reason__letter_not_Posted = n/a. I want to change it to blanks or empty
Private Sub Reason__Letter_Not_Posted__Exit(Cancel As Integer)
If Letter_Posted = "No" And Reason__Letter_Not_Posted_ = "N/A" Then
MsgBox "Please supply a valid reason for not posting this letter."
Me.Letter_Posted.SetFocus
End If
End Sub
Thanks a lot