| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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... |
|
#3
|
|||
|
|||
|
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.. ? |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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... |
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
|||
|
|||
|
Re: Exporting text files-- URGENT
Quote:
|
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|