Announcements
I have the same report with 2 designs. Different code is run for Design2 to capture some detail info. I am trying to determine which report the user is running. I can see when I do a breakpoint the name of the design (reportname) in the \classes\srsreportruncontroller\startOperation on the debug window. I cannot figure out in X++ how to access this value. Thanks.
Thank you!
If I remember it correctly, SrsReportRunController has parmReportName() method for this purpose. Also, you can simply access reportName variable in code of your report controller class (which inherits the variable from SrsReportRunController).
André Arnaud de Cal...
294,261
Super User 2025 Season 1
Martin Dráb
232,996
Most Valuable Professional
nmaenpaa
101,158
Moderator