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

Hard Returns

edited July 2003 in General
I am trying to use TExtraDevices to export a TDBMemo to an RTF file without
a hard return after every line in the conversion of the TDBMemo to RTF. I
believe the reason it does this is the way that RB processes Memo lines.
(ie. Wrapped Text)

Why this would be useful?

When trying to export reports that have a "letter" style format to an RTF so
that futher cusomizations or editing can be done on the document before
printing it. If there was a way to just send it as regular text without any
added CRLF (#13#10) at the end of every line. I still want the CRLF that
were originally entered into the text, so stripping all CRLF out of the text
will not do.

Any help in how to do this is much appreciated.

Bill

Comments

  • edited July 2003
    Bill,

    When ReportBuilder generates a memo, each line of wrapped text is loaded
    into a TStrings object so that a device will not have to worry about finding
    the CRLF's. You may have to increase the size of the memo and take word
    wrapping off to get the results you are looking for.

    --
    Best Regards,

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