How to display the report filename (.mrt) ?

Stimulsoft Reports.NET discussion
Post Reply
Francis Garnier
Posts: 8
Joined: Mon Dec 08, 2025 10:19 am

How to display the report filename (.mrt) ?

Post by Francis Garnier »

Hi, I want to display in a text field the filename of the report (.mrt). How can I do that ?

thank you !
Lech Kulikowski
Posts: 7587
Joined: Tue Mar 20, 2018 5:34 am

Re: How to display the report filename (.mrt) ?

Post by Lech Kulikowski »

Hello,

You can use the following expression in the Compilation mode:
{this.ReportFile}

Thank you.
Attachments
Screenshot 2025-12-17 104127.png
Screenshot 2025-12-17 104127.png (29.87 KiB) Viewed 350 times
Francis Garnier
Posts: 8
Joined: Mon Dec 08, 2025 10:19 am

Re: How to display the report filename (.mrt) ?

Post by Francis Garnier »

Thank you Lech !
Lech Kulikowski
Posts: 7587
Joined: Tue Mar 20, 2018 5:34 am

Re: How to display the report filename (.mrt) ?

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply