Hi Experts,
Present I am doing Upgradation from Nav 2009 to Nav 2015 so here in Code Upgradation total code is fine
but in some dataItems CurrtReport.Break; is Getting Problem.
I checked with the Debugger i Found if currentReport.break is occur its break and jump to OnPostDataitem in Nav2009, But It Comes Nav 2015 It jumps the hole Dataitem.
Integer - OnAfterGetRecord()
IF PostingDate = PostingDate::"Invoice Date" THEN
CurrReport.BREAK;
here is above code is in OnAfterGetRecord() when debugger Came to Break it come out of Integer DataItem.
is there any problem in Break statement please suggest me.
Regards,
Ramesh.
*This post is locked for comments
Is it because that 'Break' function has to used only inside loop??( repeat ... until),
Have you checked that?
Hi Ramesh,
BREAK Function in NAV 2009 msdn.microsoft.com/.../dd354980(v=nav.60).aspx
and in NAV 2015 msdn.microsoft.com/.../dd354980(v=nav.80).aspx
Hi Ramesh
Could you let us know CurrReport.BREAK used on which sections in NAV 2009?
Hi Rajasekhar,
Thanks for the Reply,i know how to give page breaks but this is CurrReport.Break this is a Statement in my code.
i think in place of that Break better to use a Skip i will check it and Let me know
Regards,
Ramesh.
Hi
Refer the below link how to create page breaks in NAV 2013 or later versions
www.archerpoint.com/.../microsoft-dynamics-nav-2013-creating-page-breaks-rtc-reports
i got this problem in Report generation because the values Came from code.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156