Change the Report title

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