TOTALSCAUSEDBY in RDLC Report
 
            
                
                    supportnav                
                
                    Member Posts: 34                
            
                        
            
                    hi folks,
@CC : there is the report grouped with x,y,z and displaying based on 'CurrReport.TOTALSCAUSEDBY = z'.
In GroupFooter : OnPreSection - there is code to reset (to make 0) variables.
@RTC : i able to group like CC and also got same set of records, but my Group Total missmatching.[i hope its just because of reseting the variables in CC which will not work in RTC (onPresection codes) ].
I was trying to replicate the same coding for RTC and could not achieve it. (moving OnPreSection code to OnAfterGetRecord() [to reset those variables for RTC] )
I donk know, how to set same scenario for 'TOTALSCAUSEDBY' on OnAfterGetRecord to reset.
Can anyone please give your inputs to solve this issue.
                @CC : there is the report grouped with x,y,z and displaying based on 'CurrReport.TOTALSCAUSEDBY = z'.
In GroupFooter : OnPreSection - there is code to reset (to make 0) variables.
@RTC : i able to group like CC and also got same set of records, but my Group Total missmatching.[i hope its just because of reseting the variables in CC which will not work in RTC (onPresection codes) ].
I was trying to replicate the same coding for RTC and could not achieve it. (moving OnPreSection code to OnAfterGetRecord() [to reset those variables for RTC] )
I donk know, how to set same scenario for 'TOTALSCAUSEDBY' on OnAfterGetRecord to reset.
Can anyone please give your inputs to solve this issue.
0                
            Comments
- 
            You can check How the reports are transformed to RTC in the existing reports which are using TOTALSCAUSEDBY like Report 209..erc.
 It may help you... :thumbsup:0
- 
            mohana_cse06 wrote:You can check How the reports are transformed to RTC in the existing reports which are using TOTALSCAUSEDBY like Report 209..erc.
 It may help you... :thumbsup:
 there s no report like this scenario ( i hope , .. ..
 in CC : actually for each group(On presection codes) it will reset or add calculation based on condition..
 my doubt is how to take care those codes(resetting values) which is falling Under TotalCausedBy :-k .....0
- 
            Can you show your report code or section code?0
- 
            mohana_cse06 wrote:Can you show your report code or section code?
 ZZZ, GroupFooter (1) - OnPreSection()
 CurrReport.SHOWOUTPUT ((CurrReport.TOTALSCAUSEDBY = FIELDNO (x));
 IF CurrReport.SHOWOUTPUT THEN BEGIN
 IF (A = 1) THEN
 Acum() // its function
 ELSE
 ResetValues; // its function which ll clear values
 AcumAll(); // its function which ll add values
 END;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
- 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
