Hi,
I have a report that uses 2 tables. When this report is ran, I want to default the filters for them.
The question is, I want to use the REPORT.RUN function to run the report and pass the filters to the report. However, this function will only allow you to pass the filters set on one table, and I cannot pass on the filters from the 2nd table.
We don't want to pass the filter variables to the report beforehand because the main purpose is to allow the user to be able to see the filters the report is setting before the report is ran.
0
Answers
The way you can do this is to create a variable for the report and call it this way
myreport has two dataitems for Item and customer table.
Mycustomer is customer table, myitem is item table.
Myreport is the variable for the report.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I didn't know you can use the SETTABLEVIEW twice on the same report.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n