I have a database that stores expiration dates of department charge numbers. The database emails personnel, that I enter into each record, at 15 and 30 days prior to expiration using SendObject. I have a total of three fields where I enter an email address for each record; Email, E2, and E3. If I enter data in Email and E2 an email is sent. If I enter data in Email,E2, and E3 an email is sent. The problem happens when I only enter data in Email, I get an error 2295. I'm sure that it has something to do with the below piece of code and my use of Nz:
strRecipient = rs!Email & (Nz(";" & (rs!E2))) & (Nz(";" & (rs!E3)))
Any help would be greatly appreciated.
- Rob
strRecipient = rs!Email & (Nz(";" & (rs!E2))) & (Nz(";" & (rs!E3)))
Any help would be greatly appreciated.
- Rob