Link to home
Start Free TrialLog in
Avatar of brightak
brightak

asked on

Crystal Reports, RTF and WordPad

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
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial