I use SendObject to send e-mail. If I refer to a field that's blank (e.g., EmailAddress), the e-mail isn't built (error). I tried using nz(field) but without success. Is there an easy fix for this?
It is Best Practice to first validate that the email exists before executing the sendobject.
Psuedo code:
If Nz(Me.MyEmailAddressControl,"") > "" Then
Docmd. SendObject ...
End If
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.