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!

Report to file (word document)?

Status
Not open for further replies.

rombout

Programmer
Jan 24, 2000
24
NL
Report to file (word document)?

How do save a report to a word document and keep the same layout as in fox pro.

Thanks Rombout
 
In VFP, there are a number of ways to do this, but in FPD or FPW it's not really possible. (If you were real good at DDE, and you coded all your own reports in FPW - i.e. not the report designer - then it's possible.)

Rick
 
As Rick (rgbean) says you have to be good in DDE or work to figure it out, but it can be done in FPW.

Instead of building ANY format/layout in Foxpro, you would format it within Word. You also don't need to hard code format it in Foxpro, merely set up the appropriate data and then pass it from Foxpro to Word via DDE. I had one application work this way and it did OK. It didn't populate the Word document too fast, but it worked and looked pretty good. My biggest user complaint was the speed and also the fact that Word would not reliably close itself when done.

Good Luck,
jrbbldr
jrbbldr@yahoo.com


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top