SendObject method

G

George

Hi all,

In XP, the SendObject method, when sending a report in
acFormatHTML format, creates multiple HTML files if the
report is more than one page long. Is there anyway to have
everything in one HTML file?

Another question: SencObject method's last parameter,
TemplateFile, can be used to specify an HTML template,
according to Online Help. However, I don't fully
understand what an HTML template is capable of doing. For
example, can it be used to solve my first question?

Your help is appreiciated. TIA.
 
A

Alick [MSFT]

Hi George,

AFAIK, the acFormatHTML format will create multiple files by design, if we
want to create a single file attachment, we can try other formats, such as
acFormatRTF. The templatefile is an html file used as a template to create
the attached report html file. For example, we have a template file
template.html in disk c:, this template file is simple, it just has blue
background. When we call sendobject by specifying the templatefile
parameter, each created html file in the email (as attachments) will have
blue background. They are created based on the template file.

Hope it helps.


Sincerely,

Alick Ye, MCSD
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


--------------------
| Content-Class: urn:content-classes:message
| X-Tomcat-NG: microsoft.public.access.modulesdaovba
|
| Hi all,
|
| In XP, the SendObject method, when sending a report in
| acFormatHTML format, creates multiple HTML files if the
| report is more than one page long. Is there anyway to have
| everything in one HTML file?
|
| Another question: SencObject method's last parameter,
| TemplateFile, can be used to specify an HTML template,
| according to Online Help. However, I don't fully
| understand what an HTML template is capable of doing. For
| example, can it be used to solve my first question?
|
| Your help is appreiciated. TIA.
|
|
 

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