Change the Report title

edited 10:07AM in FastReport 4.0
Hi,

I want to set a variable as the report title (Report.ReportOptions.Name = variable). So that when I print out a pdf that the pdf file name contains my variable.

I have found in this forum and in the internet lots of commands e.g.:

frReport.ReportOptions.Name := 'abc';

frxReport1.ReportOptions.Name:='abc';

Could you please provide the correct command and the info where I have to place this code in the fastreport4 designer?

thank you!

Comments

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.