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

Comments

  • edited 2:06AM
    Hello,

    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.
  • edited 2:06AM
    Hello,

    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



    AlexTZ wrote: »
    Hello,

    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.
  • edited 2:06AM
    Hello,

    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?
  • edited 2:06AM
    Hello,

    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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.