Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I Direct Report Output to Email
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00524102
Message ID:
00524175
Views:
18
>Hi All!
>I want to be able to direct my report output, and maintain the formatting, to a text file that I can attach as an e-mail attachment, or open it as a word document. I've tried using the ascii command but then I lose the formatting, and the to file command give an unreadable file!
>
>Help please. I am using VFP5 but could go to 6.
>
>Many thanks in advance
>
>Derek...


To maintain exact formatting and looks you could use the Adobe PDF writer. It installs like a printer. You "print" to it and it creates a pdf file.

To email the attachment you could use Nigel's MAPI class (here in the UT downloads section) or use automation to cfontrol MS Outlook:
http://fox.wikis.com/wc.dll?Wiki~AutomationExamples~VFP


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform