Report name

Stimulsoft Reports.PHP discussion
Post Reply
enigma
Posts: 22
Joined: Tue Feb 11, 2014 2:51 pm

Report name

Post by enigma »

Is there a possibility to automatically change the report name when saving it as .pdf? For example i have report called a5.mrt and i want to change the name every time it is saved, 2015_07_09_a5.mrt
or some other date or variable, is there maybe an option for this?
Software developer from Croatia
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report name

Post by HighAley »

Hello.

If you need to change the name of PDF-file that you get after export, then it's impossible.
The name of the PDF-file is taken from Report Name or Report Alias property of the report.
But it's impossible to change it dynamically too.
The only way is to parse mrt-file and change Report Name or Report Alias from PHP-script before showing report.

Thank you.
Post Reply