Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send report form as email

Status
Not open for further replies.

channelmaster

Technical User
Dec 9, 2001
52
PH
HI!
Can anyone tell me on how to send my report form as an email? The idea is when I send the report form as an email, my email client(outlook express 5) will pop up and the report is written within the email client window. Is this possible? Thanks in advance

Channel
 
What if your customer running your program doesn't use Outlook?

Perhaps you're developing an app that will only be used in-house, and you can be assured OE is available. Look in the FAQs for any that refer to sending emails, such as:

faq184-3835
faq184-3808
faq184-766
faq184-1700
faq184-3840
faq184-3938
 
channelmaster

To add to wgcs' comment :
FAQ184-1769
FAQ184-1768
FAQ184-3894


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
HI

Can anyone tell me on how to send my report form as an email? The idea is when I send the report form as an email, my email client(outlook express 5) will pop up and the report is written within the email client window .

Since outlook express is not COM, we can achieve in two steps.

1. Step1: Send the report to a text file.
myTxt = SYS(3)+".txt"
ERASE (myTxt)
REPORT FORM myReport TO FILE (myTxt) ASCII
_clipText = FILETOSTR('myTxt')
ERASE (mytxt)

** Note ERASE (myTxt) is to keep a clean drive space.
** Step1 exports the report to the ClipBoard

2. In the email client window, simply press Ctrl+V to paste the report from the clipboard to the email window.

Hope this gives you an idea.

If the email client is COM, then you can attach the txt file generated in step1 to the email directly.

:)

ramani :)
(Subramanian.G)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top