sent to email

P

peljo

I have to send a query in cvs format to my ;ogistics centre.With the help of
the forum i succeeded to do it :
DoCmd.TransferText acExportDelim, "qryDocExportSpecification", "QryDocs",
"QryDocs.csv"

My question is, can i email this directly ? The same as the sendobject
command like :
DoCmd.SendObject acSendReport, "rptSchedule", acFormatSNP, "(e-mail address removed) ",
, , "Trends", , False

But is it possible to do it with the Transfertext command ?
 
P

pietlinden

I have to send a query in cvs format to my ;ogistics centre.With the help of
the forum i succeeded to do it :
DoCmd.TransferText acExportDelim, "qryDocExportSpecification", "QryDocs",
"QryDocs.csv"

My question is, can i email this directly ? The same as the sendobject
command like :
DoCmd.SendObject acSendReport, "rptSchedule", acFormatSNP, "(e-mail address removed) ",
, , "Trends", , False

But is it possible to do it with the Transfertext command ?

Probably the easiest way to do it is to use CDOSys to automate e-mail.
You can't attach an external file with SendObject...(IIRC).
 

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

Similar Threads


Top