How to hide a table header on a RTC report
                
                    Alisha                
                
                    Member Posts: 217                
            
                        
            
                    Any ideas?
When there are no rows, the header still appears, and I don't want it to...
Thanks!
                When there are no rows, the header still appears, and I don't want it to...
Thanks!
0                
            Comments
- 
            
 - 
            I have a report with 2 sections, showing different VAT Entries (Sales & Purchases). Each section has its own header, but the Purchases one appears even if there are no Purchase VAT Entries...0
 - 
            every row in RTC report has a visibility property where you can specify if it's visible or not based on expression.0
 - 
            I've tried all the possible expressions I can think of, and it doesn't work with headers, only with the normal Rows.0
 - 
            did you already try to set TRUE to the hidden property? because it works, no matter what...
anyway, a common error is to confuse the hidden property value:
if you want to show the header, the property must be false (hidden = false)
if you want to hide the header, the property must be true (hidden = true)0 - 
            You should always get the primary key of a dataitem used in thre report. so if that PK is a integer value you could Sum it up and then use somethink like this:
=(Sum(Fields!YourTable.YourPK)=0)
if you have no data in the dataitem you should get no row with a value in the pk, so the sum up of all would be zero and the exp. in hidden property is TRUE
BTW: i never tried sum in a header row but i think it should work.0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K 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
 - 323 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
 

