How to dispaly a report in two different ways depending on t

anton1987
Member Posts: 35
Hi everyone.
Hope you are all well
How to dispaly a report in two different ways depending on the filter selected.
I have created a report in NAV and want it to filter in two different ways.
First if I select a boolean called "SortByVendor" then I would like it to sort by vendor and place the data in vendor groups.
Secondly If I select a boolean called "SortByProdOrderNo" then it needs to sort by product order no and it must not group by vendor..
I have no idea how to do this.
Hope you are all well
How to dispaly a report in two different ways depending on the filter selected.
I have created a report in NAV and want it to filter in two different ways.
First if I select a boolean called "SortByVendor" then I would like it to sort by vendor and place the data in vendor groups.
Secondly If I select a boolean called "SortByProdOrderNo" then it needs to sort by product order no and it must not group by vendor..
I have no idea how to do this.
0
Comments
-
I know, that's not of great help, but why not use two reports?0
-
Hi Snoopy
Unfortunately the compnay I work for has a certain standard.
And because of this I have been sort of forced to create one report with two different sorting methods0 -
If this is a practical solution:
use Setcurrentkey(
), depending, what the user has chosen
define a global variable (your record) as temporary
transfer the data into the temporary record
define the sections as integer
......
But now I have another idea, look at report 111 or another Top 10 report.0 -
Hi Snoopy.
Thanks so much. SetCurrentKey seems to work perfectly.
You're a legend. Thanks Man0 -
Hi Again
Is there a way to create group totals in c/al.0 -
Look at CREATETOTALS and TOTALSCAUSEDBY0
-
Thanks Man.
suppose you can see that I am new at NAV.
Thanks so much for all the advice0 -
If I were you I would ask for three things:
- the training material for the two development classes
- a copy of the product disk, so that I can get to all the documentation in the Doc folder
- permission to order David Studebaker's book
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions