Simple array question
RonaldW
Member Posts: 6
Hi,
I have a simple question about arrays.
What i want to do is a simple count of different Template Codes in a table.
Example:
Template code 1: 12 x present
Template code 2: 10 x present
At the end of the table i want to print these values.
It think i can do this with an array. But how :P?
Can anyone of you help me with this?
I have a simple question about arrays.
What i want to do is a simple count of different Template Codes in a table.
Example:
Template code 1: 12 x present
Template code 2: 10 x present
At the end of the table i want to print these values.
It think i can do this with an array. But how :P?
Can anyone of you help me with this?
0
Comments
-
There isn't really any elegant equivalent of SELECT DISTINCT in Navision. What you can try is to create a key for that field. Create a report using that table and key, count in a variable, after each record if it's different thant the previous one, showoutput(true) and show the variable and reset the variable... and the same thing again after the last record for... as lovely as kicking dead whales down the beach but it should work.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions