Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send to email

Status
Not open for further replies.

peljo

Technical User
Mar 3, 2006
91
BG


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, "tgkn@gmail.com ", , , "Trends", , False

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

The ObjectType of the SendObject method has an AcSendObjectType enumerator of acSendQuery. Have you tried it?

Of course there is the CDO send message way (thread707-1307181) and the classic Outlook Automation way (with the Outlook Object Model Guard for 2000sp2 and above versions).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top