Home End User

Showing Field Alias on Data Field

edited September 2002 in End User
How do you do that? Don't ask me to use DataDictionary because I'm having a
hell time trying to set the DatabaseName correct on the TppDesigner.

Can I get something straight first. On my TIBQuery, I set the
TField.DisplayLabel to my field alias. Shouldn't it display the field alias?
Before this I tried alias the fieldname through the SQL alias. It worked but
that's not what my supervisor wanted. He said that it should work if I just
change the DisplayLabel, so I happily changed my code and noticed the Data
Field is not displaying the DisplayLabel property. I'm totally stuck and
wondered how do your Designer work? Does it get the string from
TIBQuery.DisplayLabel or TIBQuery.FieldName??

I hope you can help me solve this problem. I don't want to revert my code
back to alias through SQL.

Comments

This discussion has been closed.