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

Field aliasing doesn't work on TppDBText ???

edited November 2004 in General
Hi,

I have a field "NUMBER_1", from a TQuery.

In the TppDBPipeLine, the TppField.FieldName = NUMBER_1' and
TppField.FieldAlias = 'CUSTOMER.NUMBER'.

If I used the fieldalias in a calculation (TppVariable), like : "Value :=
Report.DataPipeLine['CUSTOMER.NUMBER']", it works perfectly. But, if I use
it in TppDBText.FieldName, it doesn't work. I'd like to make it, because the
use of aliases is critical for my application. How can I do it?

Thanks !

David Caouette

Comments

  • edited November 2004
    Hi David,

    This is a limitation of the DBText component. If you want to use the field
    alias, you will need to manually access the field in the datapipeline and
    insert the record value into a regular text object such as a TppLabel or
    TppVariable.

    I will mark this down as a possible enhancement for a later release.

    --
    Regards,

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

    Best Regards,

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