PC Review


Reply
Thread Tools Rate Thread

Created Formatted Reports in Access 2007 and emailing (not attachm

 
 
PatK
Guest
Posts: n/a
 
      6th Feb 2010
I was wondering if anyone has any idea of how I might send out nicely
formatted reports, where the report content is in the body of the email? I
have seen a number of threads posted about sending attachments, and that will
likely be my "fallback" approach.

Trying to avoid attachments, however, as this required folks, who are
already in email jail, to take an extra step, which results in them not
seeing the report (my reports are communicating significant issues in ongoing
projects, and important that they at least "See" the red flags in the report.

This leads me to the formatting issue...I would like the reports to look
similar to a report i might generate via a normal access report, but with the
ability to set background text on some words like "RED" to be red, etc (let's
folks scan the report quickly for line-items "at risk."

Has anyone see a nice set of code that lets you produce formatted reports
(maybe of HTML type format)?

Thanks!

PatK

(hope this posts...for whatever reason, my earlier posts don't seem to be
showing up).
 
Reply With Quote
 
 
 
 
Stuart McCall
Guest
Posts: n/a
 
      6th Feb 2010
"PatK" <(E-Mail Removed)> wrote in message
news:2CE7212D-4515-4E48-8539-(E-Mail Removed)...
>I was wondering if anyone has any idea of how I might send out nicely
> formatted reports, where the report content is in the body of the email?
> I
> have seen a number of threads posted about sending attachments, and that
> will
> likely be my "fallback" approach.
>
> Trying to avoid attachments, however, as this required folks, who are
> already in email jail, to take an extra step, which results in them not
> seeing the report (my reports are communicating significant issues in
> ongoing
> projects, and important that they at least "See" the red flags in the
> report.
>
> This leads me to the formatting issue...I would like the reports to look
> similar to a report i might generate via a normal access report, but with
> the
> ability to set background text on some words like "RED" to be red, etc
> (let's
> folks scan the report quickly for line-items "at risk."
>
> Has anyone see a nice set of code that lets you produce formatted reports
> (maybe of HTML type format)?
>
> Thanks!
>
> PatK
>
> (hope this posts...for whatever reason, my earlier posts don't seem to be
> showing up).


Try selecting the report in the database window and choosing File | Save As.
When the Save as dialog appears, change the type of file to HTML before
saving.


 
Reply With Quote
 
PatK
Guest
Posts: n/a
 
      7th Feb 2010
Well...I am trying to accomplish it in VBA code. Ultimately, this code will
loop through and send out over 100 reports, so need to find a way to do this
programatically. I Do appreciate the help and response!

Patk

"Stuart McCall" wrote:

> "PatK" <(E-Mail Removed)> wrote in message
> news:2CE7212D-4515-4E48-8539-(E-Mail Removed)...
> >I was wondering if anyone has any idea of how I might send out nicely
> > formatted reports, where the report content is in the body of the email?
> > I
> > have seen a number of threads posted about sending attachments, and that
> > will
> > likely be my "fallback" approach.
> >
> > Trying to avoid attachments, however, as this required folks, who are
> > already in email jail, to take an extra step, which results in them not
> > seeing the report (my reports are communicating significant issues in
> > ongoing
> > projects, and important that they at least "See" the red flags in the
> > report.
> >
> > This leads me to the formatting issue...I would like the reports to look
> > similar to a report i might generate via a normal access report, but with
> > the
> > ability to set background text on some words like "RED" to be red, etc
> > (let's
> > folks scan the report quickly for line-items "at risk."
> >
> > Has anyone see a nice set of code that lets you produce formatted reports
> > (maybe of HTML type format)?
> >
> > Thanks!
> >
> > PatK
> >
> > (hope this posts...for whatever reason, my earlier posts don't seem to be
> > showing up).

>
> Try selecting the report in the database window and choosing File | Save As.
> When the Save as dialog appears, change the type of file to HTML before
> saving.
>
>
> .
>

 
Reply With Quote
 
Stuart McCall
Guest
Posts: n/a
 
      7th Feb 2010
"PatK" <(E-Mail Removed)> wrote in message
news:EF755638-CE43-45B0-95A6-(E-Mail Removed)...
> Well...I am trying to accomplish it in VBA code. Ultimately, this code
> will
> loop through and send out over 100 reports, so need to find a way to do
> this
> programatically. I Do appreciate the help and response!
>
> Patk
>
> "Stuart McCall" wrote:
>
>> "PatK" <(E-Mail Removed)> wrote in message
>> news:2CE7212D-4515-4E48-8539-(E-Mail Removed)...
>> >I was wondering if anyone has any idea of how I might send out nicely
>> > formatted reports, where the report content is in the body of the
>> > email?
>> > I
>> > have seen a number of threads posted about sending attachments, and
>> > that
>> > will
>> > likely be my "fallback" approach.
>> >
>> > Trying to avoid attachments, however, as this required folks, who are
>> > already in email jail, to take an extra step, which results in them not
>> > seeing the report (my reports are communicating significant issues in
>> > ongoing
>> > projects, and important that they at least "See" the red flags in the
>> > report.
>> >
>> > This leads me to the formatting issue...I would like the reports to
>> > look
>> > similar to a report i might generate via a normal access report, but
>> > with
>> > the
>> > ability to set background text on some words like "RED" to be red, etc
>> > (let's
>> > folks scan the report quickly for line-items "at risk."
>> >
>> > Has anyone see a nice set of code that lets you produce formatted
>> > reports
>> > (maybe of HTML type format)?
>> >
>> > Thanks!
>> >
>> > PatK
>> >
>> > (hope this posts...for whatever reason, my earlier posts don't seem to
>> > be
>> > showing up).

>>
>> Try selecting the report in the database window and choosing File | Save
>> As.
>> When the Save as dialog appears, change the type of file to HTML before
>> saving.


You need to use the OutputTo command, where you can specify the output
format:

DoCmd.OutputTo acOutputReport, "MyReport", acFormatHTML, "c:\temp\test.htm"

(this effectively does what I described, but in code instead of the UI)


 
Reply With Quote
 
Mark Andrews
Guest
Posts: n/a
 
      8th Feb 2010
My email module does this. It basically save the html file, reads it back
in to the email template so it appears in the body.

Note: This approach is limited by the power of Access and how well/badly it
exports reports to HTML.

You could look at my simple demo on my website.
http://www.rptsoftware.com

I have a better example of email templates in my latest donation management
software.
http://www.donationmanagementsoftware.com

The general email template approach would probably serve your needs better
(depending on how much tabular data is in the mix).

Send me an email with more details and I'll give you my best opinion on how
to approach. See website for details.

HTH,
Mark Andrews
RPT Software
http://www.rptsoftware.com


"PatK" <(E-Mail Removed)> wrote in message
news:2CE7212D-4515-4E48-8539-(E-Mail Removed)...
> I was wondering if anyone has any idea of how I might send out nicely
> formatted reports, where the report content is in the body of the email?
> I
> have seen a number of threads posted about sending attachments, and that
> will
> likely be my "fallback" approach.
>
> Trying to avoid attachments, however, as this required folks, who are
> already in email jail, to take an extra step, which results in them not
> seeing the report (my reports are communicating significant issues in
> ongoing
> projects, and important that they at least "See" the red flags in the
> report.
>
> This leads me to the formatting issue...I would like the reports to look
> similar to a report i might generate via a normal access report, but with
> the
> ability to set background text on some words like "RED" to be red, etc
> (let's
> folks scan the report quickly for line-items "at risk."
>
> Has anyone see a nice set of code that lets you produce formatted reports
> (maybe of HTML type format)?
>
> Thanks!
>
> PatK
>
> (hope this posts...for whatever reason, my earlier posts don't seem to be
> showing up).


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emailing reports from Access David D Microsoft Access Reports 1 10th Mar 2008 04:44 AM
Emailing PDF reports from Access =?Utf-8?B?Q3JhaWdNYw==?= Microsoft Access 6 11th Oct 2007 12:52 AM
Formatted Text from Access Reports =?Utf-8?B?U3JlZWRoYXI=?= Microsoft Access VBA Modules 1 11th Oct 2006 07:44 PM
Emailing Reports from Access Connie Microsoft Access VBA Modules 2 13th Feb 2004 07:11 PM
Emailing Access Reports Tom Microsoft Access Form Coding 5 29th Aug 2003 04:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:41 AM.