Page 1 of 1

Printing the Report FileName

Posted: Fri Apr 04, 2014 10:01 am
by samad
How can I get a field or function that prints the report filename (without the path)?

Thks

Re: Printing the Report FileName

Posted: Fri Apr 04, 2014 10:53 am
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.

Re: Printing the Report FileName

Posted: Fri Apr 04, 2014 10:58 am
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!

Re: Printing the Report FileName

Posted: Fri Apr 04, 2014 12:53 pm
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.

Re: Printing the Report FileName

Posted: Sat Apr 05, 2014 11:41 pm
by samad
I think it would be a nice enhancement to drop an already internal variable with name of the report.
Just suggesting....:-=)

Re: Printing the Report FileName

Posted: Mon Apr 07, 2014 5:32 am
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.