Trouble with several fields in GroupTotalFields

randrews
Member Posts: 135
Suppose, I have Table with key Field1,Field2,Field3,...
And I want to group by
GroupTotalFields = Field1,Field3 with key (above)
But report grouping as GroupTotalFields = Field1,Field2,Field3 in section with onpre triger:
CurrReport.SHOWOUTPUT(FIELDNO(Field3) = CurrReport.TOTALSCAUSEDBY);
Can I make results by standart grouping way, avoiding to create key Field1,Field3.
Or it is necessarily incredible variable
And I want to group by
GroupTotalFields = Field1,Field3 with key (above)
But report grouping as GroupTotalFields = Field1,Field2,Field3 in section with onpre triger:
CurrReport.SHOWOUTPUT(FIELDNO(Field3) = CurrReport.TOTALSCAUSEDBY);
Can I make results by standart grouping way, avoiding to create key Field1,Field3.
Or it is necessarily incredible variable
0
Comments
-
you must create the correct key, because the grouping is called when one value in the group field is changed...
assume this:Field 1, Field 2, Field 3 1,1,1 - Group 1 (1,1) 1,1,2 - Group 2 (1,2) 1,2,1 - Group 3 (1,1) 1,2,2 - Group 4 (1,2) 2,1,1 - Group 5 (2,1) 2,1,3 - Group 6 (2,3) 2,2,1 - Group 7 (2,1)
it is Sorted with Field 1, Field 2, Field 3 key. If you want group by Field 1, Field 3 for each record will be group section called because Field 3 is still changing his value. You must sort it in this way>Field 1, Field 3 sorting 1,1,1 \ 1,2,1 - group 1 (1,1) 1,1,2 \ 1,2,2 - group 2 (1,2) 2,1,1 \ 2,2,1 - group 3 (2,1) 2,1,3 - group 4 (2,3)
0 -
Thanks a lot for reply.
Its precisely that I want.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