sending from access to email in XML format

G

Guest

Hi,
How do i create VB code to enable Acess 2003 to Email an XML file? I have
tried the following but when run it still asks me what format i wish to send
in..

stDocName = "Availability_Report"
DoCmd.SendObject acReport, stDocName, XML

I have tried a couple of methods but no success at this time,help with this
mattter would be greatly appreciated.


regards,

Colin
 
G

Guest

Colin:

Here's what works for me:


DoCmd.SendObject acSendReport, "BlankReport", acFormatHTML, FirmEAddress,
, EAddress, "Client Invitation"
 
G

Guest

thanks for your reply Rick,

ok, that is good for HTML but i guess that should also work if i want an XML
format.. or should this be handelled differently?



Colin
 

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