sending from access to email in XML format

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Colin:

Here's what works for me:


DoCmd.SendObject acSendReport, "BlankReport", acFormatHTML, FirmEAddress,
, EAddress, "Client Invitation"
 
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
 
Back
Top