Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Export a report with text, line and boxes to MS Outlook

Posted on 2004-03-25
6
Medium Priority
?
336 Views
Last Modified: 2012-06-27
I set up a send object function to send a Report generated in MS Access 2000 to MS Outlook for emailing.  The report has lines and check boxes for yes/no.   It looks perfect in preview but when exported to email the lines and boxes are left behind.  The text is transferred to email perfectly.  I used the rich text format.  Is there a way where the lines and boxes can also be transferred along with the text to the email.
0
Comment
Question by:PPJoseph
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 17

Expert Comment

by:walterecook
ID: 10681028
I'd create a snapshot first
DoCmd.OutputTo acOutputReport, "rpt_E_Mail", "Snapshot Format", someFileName
then email that as an attachment
Your recipient must have the snapshot viewer, but it is a free utility.

Walt

0
 
LVL 14

Assisted Solution

by:JohnK813
JohnK813 earned 200 total points
ID: 10681067
Another idea, to save the time of telling everyone how to download Snapshot viewer (not that this is a difficult process), is to create a Mail Merge document in Word, then just email that Word document to them.  This can be done in Visual Basic - I'll try to find a reference link if you're interested.
0
 
LVL 11

Accepted Solution

by:
Quetzal earned 800 total points
ID: 10686571
One other option.  Create a PDF file.  Using commercial (I like Win2PDF) or free (many people like PDF995 or FreePDF) PDF generator, create a PDF and attach it to an email.  To do this will require installing the PDF generator on the system(s) that need to create the emails and you will have to create the email with some code (not too hard, EE has answers on this topic).  The PDF is nice because it will render properly, it can't be modified, and almost everyone these days can read them.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 11

Expert Comment

by:Quetzal
ID: 10686835
WRT John's suggestion....

Here is a basic approach.  Design a Word mail merge document that looks the way you want it to.  Using Word automation, open the mail merge document, creating a new, merged document.  Using the SendMail method of the ActiveDocument, email the merged document.

These references may help:

create a form letter for mail merge:
http://support.microsoft.com/default.aspx?kbid=212329&product=wrd20

automate mail merge from Access:
http://support.microsoft.com/?kbid=209976

using Access as a data source for mail merge:
http://support.microsoft.com/default.aspx?kbid=211190&product=wrd20

where to find info on Word object model:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;222101
.
0
 
LVL 14

Expert Comment

by:JohnK813
ID: 10687077
Thanks for helping with the links, Quetzal.  I like the idea of creating a PDF, since that way the user can't modify anything.

PPJoseph - if you want to go the Word Mail Merge route, let me know and I can show you a code outline.
0
 

Author Comment

by:PPJoseph
ID: 10688170
Quetzal: I'll go the PDF route as the report will not be modified.  John I appreciate your idea of word merge but I'm sure you will agree that it cannot beat pdf format.  Hope I'm not making a case for Adobe.  Thanks all
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question