Text on the Designer Form

dannidanni Denmark
edited 6:31AM 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 6:31AM
    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 6:31AM
    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 6:31AM
    Sorry there is no way to show something except report.FileName in the designer's caption.

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.