Showing Field Alias on Data Field
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.
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.
This discussion has been closed.
Comments
DataDictionary component. There is no support to surface the TField
properties. There are IB end user examples in your installed
RBuilder\Demos\EndUserDatabases directory.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
TppDataPipeline.