Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Export to Word from Crystal Reports .RPT file using VFP?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00568970
Message ID:
00569143
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>Is there a way I can run a VFP program or form that runs a Crystal Report that creates a Crystal Report .RPT file, but then export it into a Word document.
>
>I have the first part of the equation working where I run a Crystal Report from a VFP EXE. I am wondering what to do after that with the .RPT file. I am trying to avoid a user having to run Crystal Reports to export the .RPT file to Word.
>
>I would like to do everything under control of VFP. Any thoughts or ideas on how to go about this? Thank you very much.
>
>Meanwhile, I will check out the Crystal Reports website for answers too.


Steve:

I used a very old version of Crystal Reports so this may not necessarily be helpful. But..........

I have a VFP 6 form with the Crystal Active X control on it.

There is a Destination property which can be set to FILE with a corresponding PrintFileName property. There is also a PrintFileType property for which a value of 17 (Uses the Microsoft Word for Windows format to save the data in the report).

As I said, my version is very old but I hope this gives you a start

.......Rich
Previous
Reply
Map
View

Click here to load this message in the networking platform