?
Solved

Crystal Reports, RTF and WordPad

Posted on 2007-10-07
1
Medium Priority
?
1,514 Views
Last Modified: 2012-08-13
I have a Crystal Report (v XI) that save to an RTF at the push of a button on a VB6 form.  It's fine when I open it with Word, but when I open it with WordPad, every cell gets its own line.  I tried changing the formatting in WordPad -- to little success.  

I noticed it looks better when I export a report to a "Microsoft Word - Editable (RTF)".  How do I export it like that programmatically?  What follows is my code:

    rptOptical.ReportFileName = App.Path & "\Optical.rpt"
    rptOptical.ReportTitle = "Incubator " & iIncubatorNumber
   
    rptOptical.Destination = crptToFile
    rptOptical.PrintFileType = crptRTF
    rptOptical.PrintFileName = dlgSaveRpt.FileName
    rptOptical.Action = 1

Thanx in advance
0
Comment
Question by:brightak
1 Comment
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 20030592
The metrhod you ae using cannot export to edittable RTF.

You need to use the RDC.

Is that code working?  It looks to be code for CR 8.

mlmcc
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month16 days, 3 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question