Printing the Report FileName

Stimulsoft Reports.WEB discussion
Post Reply
samad
Posts: 19
Joined: Mon Feb 24, 2014 4:14 am

Printing the Report FileName

Post by samad »

How can I get a field or function that prints the report filename (without the path)?

Thks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Printing the Report FileName

Post by HighAley »

Hello.
samad wrote:How can I get a field or function that prints the report filename (without the path)?
There could be report template without file. Could you describe your issue more detailed?

Thank you.
samad
Posts: 19
Joined: Mon Feb 24, 2014 4:14 am

Re: Printing the Report FileName

Post by samad »

I just want to put the [reportFileName.mrt] from c:\path\reportFileName.mrt, for example, in the footer for each record.
I have done that changing the Report Name property. But it would be nice to avoid to do this to dozens of reports, if it is possible to get some kind of function getReportFilename() or whatever!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Printing the Report FileName

Post by HighAley »

Hello.

You could pass the File Name to a variable.
How to do it you could read on the Knowledge Base.

Thank you.
samad
Posts: 19
Joined: Mon Feb 24, 2014 4:14 am

Re: Printing the Report FileName

Post by samad »

I think it would be a nice enhancement to drop an already internal variable with name of the report.
Just suggesting....:-=)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Printing the Report FileName

Post by HighAley »

Hello.
samad wrote:I think it would be a nice enhancement to drop an already internal variable with name of the report.
Just suggesting....:-=)
Unfortunately, it's impossible. The report template could be created in code or be loaded from database.

Thank you.
Post Reply