You would need to use a bit of code setting up filters on the report, then run the report using REPORT.RUNMODAL(reportno,..., yourrec), and in the report retrieve the value from passed filters using GETFILTER("Field")
Or you can define a function in the report which would store the passed value in some global variable, and then on the page create a code that would use a variable of your Report type, and calling your function on that variable before calling the .RUN or .RUNMODAL on it.
You would need to use a bit of code setting up filters on the report, then run the report using REPORT.RUNMODAL(reportno,..., yourrec), and in the report retrieve the value from passed filters using GETFILTER("Field")
Or you can define a function in the report which would store the passed value in some global variable, and then on the page create a code that would use a variable of your Report type, and calling your function on that variable before calling the .RUN or .RUNMODAL on it.
Answers
Yes you can
You would need to use a bit of code setting up filters on the report, then run the report using REPORT.RUNMODAL(reportno,..., yourrec), and in the report retrieve the value from passed filters using GETFILTER("Field")
Or you can define a function in the report which would store the passed value in some global variable, and then on the page create a code that would use a variable of your Report type, and calling your function on that variable before calling the .RUN or .RUNMODAL on it.
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03