"mchlle" <mc****@austin.rr.comwrote
I suppose you are correct it does run and it encounters an error:
Runtime 2295
Unknown message recipient(s); the message was not sent.
I'll venture that not only does it run, it runs quite correctly. It is using
the fields to construct the address to which the information is to be sent,
and if any of them are "empty", "null", or "zero-length string", the
resultant address will not be properly filled in -- it will be incomplete.
It's not clear to me whether nothing is being sent to any addressee, or if
all but the improper address (the one for which the field was empty) were
sent. Access is not the problem, if indeed there is a problem -- it is your
mailing / faxing software.
But, you could fix the problem in Access with a little VBA code -- construct
each of the addresses separately, and only if all the parts are there,
concatenate the address to the others for insertion into the mail / fax
message.
Larry Linson
Microsoft Access MVP