By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,509 Members | 2,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,509 IT Pros & Developers. It's quick & easy.

SendObject and filenames

P: n/a
I am using the following to attach a report, in HTML format to an
e-mail using Access2K:

DoCmd.SendObject acSendReport, "myReportName", acFormatHTML, , , ,
"mySubject", "myTExtBody", True, "myTemplateName"

However, when the e-mail is created, the attachment is named
"Users.HTML"

How can I change it?
Any help is appreciated.
lq
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I answered my own question. The Form.Caption property is the filename.
lq

la*************@hotmail.com (Lauren Quantrell) wrote in message news:<47**************************@posting.google. com>...
I am using the following to attach a report, in HTML format to an
e-mail using Access2K:

DoCmd.SendObject acSendReport, "myReportName", acFormatHTML, , , ,
"mySubject", "myTExtBody", True, "myTemplateName"

However, when the e-mail is created, the attachment is named
"Users.HTML"

How can I change it?
Any help is appreciated.
lq

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.