CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old March 19th, 2004, 04:30 PM
    ramesh_cr ramesh_cr is offline
    Member
     
    Join Date: Jul 2003
    Posts: 28
    ramesh_cr is an unknown quantity at this point (<10)
    Exporting text files

    Hi,
    Is there any way to export .rpt files as text files. I am using crystal reports 9.0 and .Net framework..
    I want to export them dynamically in the code.
    I could able to export to pdf,doc and html..But not to text.

    Thanks,
    Ramesh
    Reply With Quote
      #2    
    Old March 22nd, 2004, 09:45 AM
    malleyo malleyo is offline
    Member +
     
    Join Date: Jul 2003
    Location: Florida
    Posts: 651
    malleyo has a spectacular aura about (125+)malleyo has a spectacular aura about (125+)
    You have to include the right dlls in order for the export to work. I use Crystal Reports Version 8.5 and there's a list of the required files in a file called runtime.hlp. (The file may be called something different with other versions of Crystal)


    There are 2 types of dlls to include when you want to export: Export Destinations (Application, Disk, MAPI, Lotus Domino, etc... ) and Export Formats (HTML, pdf, doc, text, etc... ). In order to be able to export to text, I had to include U2FTEXT.DLL (from the Export Formats, this dll exports to text format) and U2DDISK.DLL (from the Export Destinations, this dll exports to disk instead of application). I couldn't get it to work if I just included the file to output to application.

    Just remember that this is for CR 8.5 and VB 6, so you may or may not be able to use it, but I hope it helps anyway!
    __________________
    I'd rather be wakeboarding...
    Reply With Quote
      #3    
    Old March 28th, 2005, 10:06 PM
    dhmshah dhmshah is offline
    Junior Member
     
    Join Date: Mar 2005
    Posts: 2
    dhmshah is an unknown quantity at this point (<10)
    Exclamation Re: Exporting text files-- URGENT

    I want to export multiple crystal reports in one file.. i.e. only one text file / pdf file or any other format... in short i want to merge the reports.
    can anyone help me in that.. ?
    Reply With Quote
      #4    
    Old April 12th, 2005, 02:36 AM
    aj_patil aj_patil is offline
    Junior Member
     
    Join Date: Apr 2005
    Posts: 3
    aj_patil is an unknown quantity at this point (<10)
    Re: Exporting to pdf

    Hi! i too face the same prob but the differance if i want to export multipal subreport with main report in one pdf file.
    Any one who can help me out plz plz do reply its urgent.
    Thanks in advance

    Last edited by aj_patil; April 12th, 2005 at 02:57 AM.
    Reply With Quote
      #5    
    Old April 12th, 2005, 09:28 AM
    malleyo malleyo is offline
    Member +
     
    Join Date: Jul 2003
    Location: Florida
    Posts: 651
    malleyo has a spectacular aura about (125+)malleyo has a spectacular aura about (125+)
    Re: Exporting text files

    aj_patil: When you export the main report, the subreports will be exported with it. No need to do anything else.

    dhmshah: Perhaps you can set each of your reports as subreports in one main report. Other than that, I'm not sure if multiple reports can be exported into 1 file.


    Also, if you have a new question, you should post it in a new thread instead of onto an old thread. That way, other people who have the same question as you can find the answer easier.
    __________________
    I'd rather be wakeboarding...
    Reply With Quote
      #6    
    Old April 13th, 2005, 05:47 AM
    aj_patil aj_patil is offline
    Junior Member
     
    Join Date: Apr 2005
    Posts: 3
    aj_patil is an unknown quantity at this point (<10)
    Smile Re: Exporting text files

    Quote:
    Originally Posted by malleyo
    aj_patil: When you export the main report, the subreports will be exported with it. No need to do anything else.

    dhmshah: Perhaps you can set each of your reports as subreports in one main report. Other than that, I'm not sure if multiple reports can be exported into 1 file.


    Also, if you have a new question, you should post it in a new thread instead of onto an old thread. That way, other people who have the same question as you can find the answer easier.
    Thanks for the advice but i hv tried, any way if u get any link hear after do write to me.
    Reply With Quote
      #7    
    Old April 14th, 2005, 01:24 AM
    aj_patil aj_patil is offline
    Junior Member
     
    Join Date: Apr 2005
    Posts: 3
    aj_patil is an unknown quantity at this point (<10)
    Re: Exporting text files-- URGENT

    Quote:
    Originally Posted by dhmshah
    I want to export multiple crystal reports in one file.. i.e. only one text file / pdf file or any other format... in short i want to merge the reports.
    can anyone help me in that.. ?
    thanks for the advice. but if u get any infomation related do write- aj
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 03:16 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009