Register Dataset
Hello,
I use a Datatable to show the Data in FastReport. My Datatable have Columname and ColumnCaption.
When it show in FR Designer, under Database, i see the right Aliasname. When the Aliasname is the same like the Columname, the Alias ist not show, the upper Columname is show. Only this fields where Columnname and ColumnCaption is the same.
I hope you understand me.
What can i do? FR 1.3.2
Regards, Frank
I use a Datatable to show the Data in FastReport. My Datatable have Columname and ColumnCaption.
When it show in FR Designer, under Database, i see the right Aliasname. When the Aliasname is the same like the Columname, the Alias ist not show, the upper Columname is show. Only this fields where Columnname and ColumnCaption is the same.
I hope you understand me.
What can i do? FR 1.3.2
Regards, Frank
Comments
Sorry, I don't understand the problem. When you register the datatable, FastReport uses DataColumn.ColumnName property to form the name, and DataColumn.Caption property to form the alias.
sorry for the late replay.
Please see the attachements.
fr1d.gif show the Dataset
fr1.gif show the result in FR
fr3d.gif show the Dataset
fr31.gif show the result in FR
Look at "STRASSE" and "AStrasse"
that is what i mean.
Regards, Frank
I have tried to reproduce the problem, it works well in my testcase. Could you make a simple project for me that demonstrates this behavior?
ok, when i try to write a smal sample, i have found the solution.
I have found my mistake. I is not possible to change a DataColumn.Caption from "STRASSE" to "Strasse"
After change this, this work.
Thanks, Frank