Andrea,
What version/type of FoxPro are you using? What mail client(s) do you need to support? While it's relatively easy in VFP with Outlook, it's a bit more complicated in FoxPro DOS running under Windows, with a "generic" mail client.
There have been a number of discussions on various techniques in earlier threads based on the answers to my earlier questions - please do a Keyword Search first then ask about what you don't understand.
I am running FoxPro 2.6a for Windows. I need it to be in an electronic format. Email is just the way I am going to send it. The format could be Word or Excel. It dosen't really matter, preferrably something generic or well known. I am using Groupwise 6.5 for email if that helps.
or can get hold of one for your purposes, generate your report in the normal way (report form xyz to print prompt) and select the pdf printer driver as your printer, save the report to a pdf file, and then email that file
Andrea,
As Pete suggests, the easiest (and virtually the only) way to create a visual representation of a FPW report, is to use a PDF printer driver. While you could copy (export) the data to an Excel format, it's not the same as a report.
If you created the report in a non-proportional font, you could also use the the Generic / Text Only printer driver File option to "print" it to an ASCII text file for attachment to an Email message.
Thanks, that worked great. Only one problem, now I implement the changes to the program and the individual who requested it now also wants all the foxpro reports to be wrapped up into one report and then converted into electronic form. I don't know how I am going to manage that. Problem being each report is different, some are just variables displayed, others have calculations in the report. Any ideas on how to merge multiple foxpro reports into one?
Some of the features I've found useful include: combing output from multiple print jobs, emailing output, and being able to change options (.ini files) with low-level file functions from inside of FPW on the fly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.