Solved

Email Data Report

Posted on 2002-03-07
5
192 Views
Last Modified: 2010-05-18
Hello,

A few questions, but if answered I will award 300 points.

(1) Is is possible to send a data report via email? If so, how can this be accomplished? If not, could somebody offer suggestions on how I can send an email that is properly formatted (columns aligned, etc.).

I have a form that uses tab and spaces between the variables, but it looks "crappy" when a value is very long in length -- it pushes the next column over.

(2) Also, is it possible to get an image file to export with a data report.

Thank you!
0
Comment
Question by:especht
[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
5 Comments
 
LVL 1

Expert Comment

by:cchenoweth
ID: 6847317
You can use CDO or CDONTS.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_olemsg_overview_of_cdo.asp?frame=true

You can do all the things you talked about with it.

Personally, I prefer the .NET smtp engine.

0
 

Author Comment

by:especht
ID: 6886253
cchenoweth,

Thanks for the suggestion, but is there a way to perform this without using CDONTS?

I have been working on sending the report as an attachment. It works great, but I cannot get the SMTP connection to close.

Thanks again,
especht
0
 
LVL 16

Expert Comment

by:twalgrave
ID: 7753449
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- refund/PAQ
Please leave any comments here within the
next seven days.
0
 

Author Comment

by:especht
ID: 7756669
Thanks twalgrave...sounds good to me.

especht
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7809601
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 11 hours left to enroll

615 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