PDA

Click to See Complete Forum and Search --> : Crystal Reports in Visual Basic 6.0


S.M.Shareef
May 4th, 1999, 10:52 AM
How do you use Crystal Reports in VB 6.0 and save the report generated in Crystal Reports in .doc format (in a fixed format)?
Please help me.

This is a clarification of my Query. I would like to know if there is a Crystal Reports Control in VB6 (as in Vb5)? If no, then how do you get it in VB6?

Please help me.



[This message has been edited by S.M.Shareef (edited 05-05-99).]

Hervey
May 4th, 1999, 09:27 PM
The response I am about to give could be very stupid... but... this what comes to mind for the moment...

1. Try to print the report using VB6.0..
So, set up your params
2. But Preview the report on the screen
first... Crystal Reports allows you to do this... (Easy)
3. There you will have the Attached envelope
If you click on it, you can save the report in a any format you wish or you can e-mail it... basically do quite a lot of things with it...

If I understand you correctly, that should work

Let me know...if I can be of further help

sueya
Jul 21st, 1999, 03:22 PM
Is it possible to save to a word document without doing a print preview first?
I tried using PrintFileType option but this did not work.

Serge
Jul 21st, 1999, 03:56 PM
It is possibe if you have Cryastal Reports 5.0 or higher. If you do then you should have .bas module called crwrap.bas. You have to include this file to your project.

Look in Crystal Reports help. It has a huge example of how to save to different formats, including Word for Windows.


Regards

------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com

pterroba
Jul 23rd, 1999, 08:49 AM
If you are using CR7 then you can use the crystal reports control. The properties of this control can be set to view to window or directly to a file.