Text on the Designer Form

dannidanni Denmark
edited 4:39AM in FastReport .NET
Hi.

When i save report objects to a database I need to set FileName as the table id from the database. In my case its a unique numer (pKey).

Now... when i load a report I get a designerform.Text = "FastReport - 173" where I would like the text eg. "Report: Indstillingsskema".

It seems I need to override the ReportTab file?

Where do I set the name to somethig else than my table id?

Thanks

Comments

  • edited 4:39AM
    Hello,

    Set Config.DesignerSettings.Text property to "Report: ". This will give you "Report: FileName" caption. You also need to set FileName to the name of your report.
  • dannidanni Denmark
    edited 4:39AM
    AlexTZ wrote: »
    Hello,

    Set Config.DesignerSettings.Text property to "Report: ". This will give you "Report: FileName" caption. You also need to set FileName to the name of your report.

    If I change fileName in my report I will overwrite the ID form my database. So thats not an option.
  • edited 4:39AM
    Sorry there is no way to show something except report.FileName in the designer's caption.

Leave a Comment