TppDBText <> TppDBMemo caption looses customized alias when template loaded
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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