Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

TppRichText and Windows98

edited April 2003 in General
When I send a piece of data to a TppRichText component (e.g. rchtxt.RichText
:= sData), and that piece of data has carriage returns (#10#13) within it, I
get the following error in Windows 98:

'Cannot generate report.

The parameter is incorrect.'

If I strip the #10#13 out, I do not get this error. If I run on Win XP, Win
2000, or Win NT, I don't get this error.

Any help or suggestions?
(I'm using Delphi 5, Win XP, ReportBuilder 6.03)

Thanks,
Jennifer Graeler

Comments

  • edited April 2003
    Jennifer,

    I tested using a Windows 98 machine with ReportBuilder 7.02 and it seemed to
    work correctly. You might try swapping the carriage return and line feed
    characters so that it reads #13#10. You want to perform a carriage return
    before you do the line feed. This could fix the problem.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.