Results 1 to 5 of 5

Thread: Crystal Reports in Visual Basic 6.0

  1. #1
    New Member
    Join Date
    May 99
    Location
    New Delhi,New Delhi,India
    Posts
    1

    Post

    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).]

  2. #2
    New Member
    Join Date
    Jan 99
    Location
    Wilmington,MA
    Posts
    2

    Post

    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

  3. #3

    Post

    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.

  4. #4
    Serge's Avatar
    Join Date
    Feb 99
    Location
    Scottsdale, Arizona, USA
    Posts
    2,715

    Post

    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



  5. #5
    New Member
    Join Date
    Jul 99
    Location
    Austin, TX
    Posts
    2

    Post

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •