In my previous post we saw how to create simple report in excel using Jet Report.
If not seen please refer it before you continue with this post, here is the link for same:
Here we will start from where we left in previous post.
We will add one more sheet in Report we created in our previous post, and name it is as Option, where we will define all of our Filters.
Our Option sheet will look as below:
Here we have created 3 Filters Customer No., Credit Limit LCY & Balance LCY.
Next Step will be to apply this Filter provided by user at runtime to the Report.
Return to your Report Sheet and edit the NL Function used to retrieve Rows from Customer as below:
(*) in filter denotes all, in other words no Filter.
Now let see the Filter Sheet how it behaves when we run the report.
When we run the report first Report option is shown, where we will give our Filters:
Here I am giving below filters:
Customer No. Filter * Include All Customers
Credit Limit (LCY) Filter 0 All rows with Credit Limit as Zero
Balance (LCY) Filter >0 All rows with Balance value greater than Zero
The output of the report should be as below:
Stay tuned for more details in my future posts.
I will explain more about commands, filters, functions, lookup etc.…