Relatively new to BC coding using AL. I have created a Query that I use to populate a Temp Table, which is then used to build a Page. I followed this link, which was extremely helpful.
https://yzhums.com/4869/
I have also used the Query to create an RDLC report, which works great, but as I understand it, you cannot define Report Filters when the DataSet is a Query.
So I would like to use the Query to load data into the Temp Table so I can utilize the Report Filters.
I am trying to use the OnPreReport trigger in the report.al file, but the table is empty (apparently) as I get an error saying there is no data in the report.
Not sure what I am missing, but does anyone have some sample code I can review to see how this is done?
I am attaching the Query, Temp Table, and report.al (based on the Query) that I have so far.