How do I exclude lines with zero values in every column?

Said
Member Posts: 20
How do I exclude lines with zero values in every column in my report?
I've tried to set PrintOnlyIfDetail Property to Yes but that didn't work...
Thanks in advance...
I've tried to set PrintOnlyIfDetail Property to Yes but that didn't work...
Thanks in advance...
0
Comments
-
If I understand correctly then you want to skip a line in your report where all fields containing a value is zero.
The way to do this could be to enter code on the OnAfterGetRecord - trigger that reads something like this....
If (field1 = 0) and (field2=0) etc. etc. then
currreport.skip.
That will skip the line in your report.Best regards
Tommy0 -
Property PrintOnlyIfDetail means that if set to Yes,
the section of a dataitem is printed only if subdataitems also have at least one record.
If you use it like this:
-Item
--Item Ledger Entry
If you set PrintOnlyIfDetail=Yes Then items without ILE will not be printed, if PrintOnlyIfDetail=No also Items without ILE are printed.
(Item2 is printed or not)Item1 Entry7 Entry12 Entry43 Item2 Item3 Entry34 Entry56
®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯0 -
Thanks a lot guys. That really helped me. It's all working now. Thanks again...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