Field aliasing doesn't work on TppDBText ???
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com