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

TppDBText <> TppDBMemo caption looses customized alias when template loaded

edited September 2005 in End User
Hi,

When a template is loaded from db in end-user designer a TppDBText will show
the appropriate customized alias in its caption on the designer, a TppDBMemo
hower won't it only will show the appropriate alias when newly dropped on
the report, but when the report is saved and reloaded it will loose the
alias and show the datafield in its caption. Anyway to fix this and
consistently show the customized alias in its caption.

Greetings,
Filip Moons

Comments

  • edited September 2005
    Hi Filip,

    There is now a patch available for RB 9.02 that addresses this issue.
    Please send a small email requesting this patch to
    support@digital-metaphors.com and we'll send it out to you asap.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2005
    Hi Nico,

    We still use RB 7.03. We can't upgrade bc we use Delphi 5 atm. We will when
    we switch to Delphi2005 next year somewhere. Is there a patch available for
    that version too?

    Greetings,
    Filip Moons

  • edited September 2005
    Hi Filip,

    Sorry, we are unable to patch older versions of ReportBuilder. The patch I
    created will only fix the issue for RB 9.02.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2005
    Hi Nico,

    I added your changes for RB 9.02 to ppMemo.pas. I only changed the
    'TppDBMemo.LoadMemo' procedure adding the code mentioned below. Was this the
    only code change you did fixing the issue for RB 9.02?

    {Assign field alias to caption in datapipeline is not nil. Added
    09/19/05}
    if (DataPipeline <> nil) then
    Caption := DataPipeline.FieldAliasForFieldName(DataField);

    Greetings,
    Filip Moons


This discussion has been closed.