Report
Horse06
Member Posts: 496
Hi expert, I have some questions for the NAV2013 report.
1. In NAV2013 RDLC reports, where to add the code CurrReport.Showoutput(FALSE) in one condition and CurrReport.Showoutput(true) in another condition. In the old version, I only put two sections in the report and the add the code to the postsection trigger. To my understanding in NAV2013, I have to create two tables with different values in Visual Studio and then show the visibility based on the expression of the conditions, am I right?
2. I have around 20 checkboxes in a page and then based on the checkboxes, the value will be displying on the report. If box1 is checked, then in the report it will show x box 1, and then if box2 is checked, it will show x box2. So In NAV2013, I have to create 20 such boxes with value x and then show the visibility based on the expression of different conditions 20 times. e.g. for box 1 I need to add the expr Iif(fields!box1.value=true, "True","False"), am I right? Thank you!
1. In NAV2013 RDLC reports, where to add the code CurrReport.Showoutput(FALSE) in one condition and CurrReport.Showoutput(true) in another condition. In the old version, I only put two sections in the report and the add the code to the postsection trigger. To my understanding in NAV2013, I have to create two tables with different values in Visual Studio and then show the visibility based on the expression of the conditions, am I right?
2. I have around 20 checkboxes in a page and then based on the checkboxes, the value will be displying on the report. If box1 is checked, then in the report it will show x box 1, and then if box2 is checked, it will show x box2. So In NAV2013, I have to create 20 such boxes with value x and then show the visibility based on the expression of different conditions 20 times. e.g. for box 1 I need to add the expr Iif(fields!box1.value=true, "True","False"), am I right? Thank you!
0
Comments
-
Not necessary (depending on your exact requirements). But you could solve this by different detail rows in the same table having different visibility expressions.Horse06 wrote:1. In NAV2013 RDLC reports, where to add the code CurrReport.Showoutput(FALSE) in one condition and CurrReport.Showoutput(true) in another condition. In the old version, I only put two sections in the report and the add the code to the postsection trigger. To my understanding in NAV2013, I have to create two tables with different values in Visual Studio and then show the visibility based on the expression of the conditions, am I right?
Same applies to this (of course also depending on your exact requirements).Horse06 wrote:2. I have around 20 checkboxes in a page and then based on the checkboxes, the value will be displying on the report. If box1 is checked, then in the report it will show x box 1, and then if box2 is checked, it will show x box2. So In NAV2013, I have to create 20 such boxes with value x and then show the visibility based on the expression of different conditions 20 times. e.g. for box 1 I need to add the expr Iif(fields!box1.value=true, "True","False"), am I right? Thank you!
BTW:
I guess you mean presection ...Horse06 wrote:... and the add the code to the postsection trigger.0 -
Thank you for your response, expert! I understand your reply to my first question.
Regarding the second question the check box, could you give me the possbile ways to accomplish it.
I need to list all of the checkboxes on the report. If any of them are checked in the page, they will be showing as x on the report, otherwise only emty box is showing
on the report.
My question is do I need to set the visibility of each individual textbox with value x showing on each condition if I don't add them to the table?
Since I want to list all of the checkboxes with descriptions for each checkbox along side by side on the report.
Thank you!0 -
Hi,
try =IIF(<field>=true,"X","") in textbox expression.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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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
