Scriptlet Methods Not Expected 'Firing' Order

 I created a Scriptlet using the code from the sample stuff.  The methods do not fire in the order I would expect them to. The Group ones all happen in the beginning. The afterReportInit fires in the beginning too.

Is what I am seeing the way it is suppose to be?

My issue is that around Page 5 the Group Footers are coming out. I was hoping to set a variable with the name of the group to be used in an expression, but this is a no go.

 

Code:
call beforeReportInit  
call   beforePageInit : PAGE_NUMBER = null  
call     beforeColumnInit  
call     beforeGroupInit - Grp_Acct  
call     beforeGroupInit - Market 3  
call     beforeGroupInit - Market 2  
call     beforeGroupInit - Market 1  
call     afterGroupInit - Market 1  
call     afterGroupInit - Market 2  
call     afterGroupInit - Market 3  
call     afterGroupInit - Grp_Acct  
call     afterColumnInit  
call   afterPageInit  : PAGE_NUMBER = 1  
call afterReportInit
          beforeDetailEval
          afterDetailEval
          beforeDetailEval
          afterDetailEval
          beforeDetailEval
          afterDetailEval  
call   beforePageInit : PAGE_NUMBER = 1  
call     beforeColumnInit  
call     afterColumnInit  
call   afterPageInit  : PAGE_NUMBER = 1 
          beforeDetailEval 
          afterDetailEval
          beforeDetailEval
          afterDetailEval  
call   beforePageInit : PAGE_NUMBER = 2  
call     beforeColumnInit  
call     afterColumnInit  
call   afterPageInit  : PAGE_NUMBER = 2  
call   beforePageInit : PAGE_NUMBER = 3  
call     beforeColumnInit  
call     afterColumnInit  
call   afterPageInit  : PAGE_NUMBER = 3  
call   beforePageInit : PAGE_NUMBER = 4  
call     beforeColumnInit  
call     afterColumnInit  
call   afterPageInit  : PAGE_NUMBER = 4  
call   beforePageInit : PAGE_NUMBER = 5  
call     beforeColumnInit  
call     afterColumnInit  
call   afterPageInit  : PAGE_NUMBER = 5  
call   beforePageInit : PAGE_NUMBER = 6  
call     beforeColumnInit  
call     afterColumnInit  
call   afterPageInit  : PAGE_NUMBER = 6  
call   beforePageInit : PAGE_NUMBER = 7  
call     beforeColumnInit  
call     afterColumnInit  
call   afterPageInit  : PAGE_NUMBER = 7 
 
</td></tr></tbody></table>
rw-network's picture
Joined: Mar 1 2007 - 3:44am
Last seen: 6 years 4 months ago

0 Answers:

No answers yet
Feedback