Hi everyone,
I am converting some reports from Nav 2009 R2 to Nav 2013...
For some reports, there is several lines of code in the OnPreSection() trigger, which is no longer supported by Nav 2013...
What shall I do to include this code in the converted report???
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
There is RDLC data but the the parts with code on that trigger don't display in RTC...
Where can I put that code???
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Section Designer belongs to Classic reports, and as you know Classic reports are not supported in NAV 2013, so all Section Designer code is deleted when you upgrade your report to NAV 2013. But if your report has RDLC layout in NAV 2009 and working, you should be fine, because the code you have in the Sections Designer is not supported in NAV 2009 either, when running a RDLC report. Only works when running Classic report. So really you should be fine if your RDLC report works.
If not, a good place to put code from the section designer is on the OnAfterGetRecord on the Dataitem which is producing your lines for your dataset.
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Then you can set the visibility (Property "Hidden") in the RDLC acording to your condition (eg: =Fields!<YourConditionFieldName>.Value)