Solved

Email Data Report

Posted on 2002-03-07
5
185 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
5 Comments
 
LVL 1

Expert Comment

by:cchenoweth
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks twalgrave...sounds good to me.

especht
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now