Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

E-Mail report

I'm new to delphi (I'm using D6)

I'm creating a database & need to e-mail reports from the database. How do I do this using QReport?

If this is not possibe can someone advise alternatives?

Tim
0
Wads
Asked:
Wads
1 Solution
 
CesarioCommented:
Hi Wads,

If you have the professional Version Of Quickreport you can use the WMF-Filter to render the Quickreport.
After you get the WMF-Images, you can send them.

Best Regards

Cesario
0
 
marcoszorrillaCommented:
Try this example:
1.- Drop a Ttable and Tdatasource in a form
2.- Connect then to a Data source.
3.- Drop a Tquickrep in the form and connect it to the table.
4.- The Tquickrep must have Detail.
5.- Resize the Detail to occupate a full page.
6.- Drop in the Detail a TQRexprMemo and resize it too.

Now you select the lines property in the Object inspector and click in Tstrings.

Write the letter. and the name of fields would be in brackets.

Dear {Customer} we sent you the ..........

Customer is the name of a field in the table.


0
 
Stuart_JohnsonCommented:
Hi Wads,

Post your email address and I'll send you my exe and code.  It's just a quick demo I wrote which does what you want.

If you want to keep your address private, email me at gtho1971@hotmail.com instead.

Cheers,

Stu.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Stuart_JohnsonCommented:
Hi Tim,

I have emailed the source code to you.  I was just thinking, if anyone else wants it, I'll post it up here.  

Cheers,

Stu
0
 
Stuart_JohnsonCommented:
Hi Tim,

Can you let me know how the code went?

Cheers,

Stu
0
 
WadsAuthor Commented:
Stu,

Thanks for your response, sorry for the delay. It'll do nicely.

Cheers,
Tim
0
 
Stuart_JohnsonCommented:
That's cool Tim.  I'm glad it helped.  Thanks for the grading too.

Cheers!

Stu
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now