Results 1 to 5 of 5

Thread: save a report as a doc

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2006
    Posts
    977

    save a report as a doc

    Hi
    I am using the Datareport tool that comes with VB6 to generate my report.
    when my report is generated, i have the print and export functions.What if I want to save the report as a doc file?
    also i want to provide to the user the possibility to send the report by email.
    Upon clicking on SendEmail button and providing the destination email address,i want to send the report to the recipient.
    How can i do it
    thanks

  2. #2
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Re: save a report as a doc

    better way why don't you use crystal report ?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2006
    Posts
    977

    Re: save a report as a doc

    Well i am using the Datareport because i will install my VB6 project in computers that don't have crystal report software.I will install the exe of my project in computers that don't have VB6 nor crystal report installed

  4. #4
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Re: save a report as a doc

    then you should add code for exporting/saving report in word document.
    by createobject("word.application")
    you have to explicitely save docs. by coding, there is no method to save word documents through datareports.

  5. #5
    Addicted Member
    Join Date
    Mar 2005
    Posts
    174

    Re: save a report as a doc

    But shukla how to do it. Do you have the code. i require the same

Posting Permissions

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



Click Here to Expand Forum to Full Width