Modifying RTC Report

Fariraishe_Shumba
Member Posts: 44
Hi all
I adjusted a report in classic,but the code i added on Pre-section is not executed, how can i make this code executed?
Regards
I adjusted a report in classic,but the code i added on Pre-section is not executed, how can i make this code executed?
Regards
0
Comments
-
You have to move the code to OnAfterGetRecord(most of the times it will work here) with ISSERVICETIER..
you can search the forum for more information..0 -
my code is like this
IF ShowZeroBalances=FALSE THEN
IF TotalCustLedgEntry[1].Amount = 0 THEN
CurrReport.SHOWOUTPUT(FALSE)
ELSE
CurrReport.SHOWOUTPUT(TRUE);
if i put it onafterget record i get this error "The called function can only be called from a Section Trigger"0 -
Can you try replacing the CurrReport.SHOWOUTPUT with something like, SKIP or BREAK when you are writing the code in OnAfterGetRecord?0
-
Then you have to pass those 2 variables to rdlc dataset and write code in Visible property..0
-
replacing CurrReport.Showoutput with Skip or Break is not working,how do i put code in Visual studio ?
Break gives an empty report and withbSkip does not generate report0 -
Fariraishe Shumba wrote:how do i put code in Visual studio ?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