Blank Email Messge with SendObject

D

DEI

I am using the SendObject method to populate an email message with data from
a form, etc. The code is below. It works fine for me. But I have put the
database in a folder on a network shared drive and when another user on
another computer clicks the button to generate the email message, the Address
and Subject fields of the email message populate fine, but the message text
comes out completely blank. No error message comes up, the email body is
just blank.

Do I need to configure Access a special way on this other computer? Is is a
security/unsafe expressions issue? Do I need to configure Outlook in special
way on the other computer?

This is very frustrating as, again, it works fine on my machine. I have
encountered these types of issues before when putting a database in a shared
folder. Does anyone have any general advice about making a database function
well in a shared environment?

Thanks in advance.

DEI

Code Sample:

em = Forms!frmREQUESTS.EMAIL

DoCmd.SendObject , , , em, , , "Catering Request Confirmation #" &
Forms!frmREQUESTS.REQCON, _
"Nutrition Services has received your recent catering order for:" & vbCr &
vbCr & _
"Date: " & Forms!frmREQUESTS.EVENTDATE & vbCr & _
"Time: " & Forms!frmREQUESTS.BEGX & vbCr & _
"Location: " & Forms!frmREQUESTS.BLDGRM & vbCr & _
"Number Attending: " & Forms!frmREQUESTS.NUMGUESTS & vbCr & _
"Confirmation Number: " & Forms!frmREQUESTS.REQCON & vbCr & _
"Requested by: " & Forms!frmREQUESTS.LNAME & ", " & Forms frmREQUESTS.FNAME
 

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.

Ask a Question

Top