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

Can you Trim a dbtext field within the richtext editor?

edited March 2008 in General
?Hello,

I have created a 'stock' text rich file in Report Builder that
references specific fields in a database.

The issue:
Some of these referenced fields are padded up to 40chars so when I
preview the report template, there are blank spaces after the
fieldvalue, then the sentance continues.

Is there a way to change the dbtext diplay property to trim the field in
the RT editor? od_Desc

-Caralene
QHR Software

--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited March 2008
    Hi Caralene,

    Unfortunately there is no way in ReportBuilder to access the data just
    before it is placed in a mailmerged RichText. One option would be to load
    this data into a temporary dataset where you could alter the field values
    before ReportBuilder gets them. The other would be to access your data
    directly and remove these padding spaces if they are un-needed.

    I will mark this down for a possible new event location for a later release
    of RB.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2008
    Thanks - for your help

    -Caralene
    QHR Software

    --- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.