Jump to content
JasperReports Library 7.0 is now available ×

I have some problem about scriptlet~~@.@


2004 IR Help

Recommended Posts

By: Jacky - jacky11287

I have some problem about scriptlet~~@.@

2004-07-29 00:54

Hi...

 

I have used scriptlet to manage the data to be displayed in my report for a few weeks...

 

Right now, I am still in confuse of the scriptlet methods...

 

Such as, afterGroupInit() and beforeGroupInit()...

and the other after*() and before*() are also...

 

I would like to ask what is the meaning exactly defined by afterGroupInit() and beforeGroupInit()..

 

Anything wrong please tell me...

 

Thanks,

Jacky Chan

 

 

 

 

By: Jacky - jacky11287

Another question about scriptlet

2004-07-29 02:50

Yeap...

 

I am currently dealing with counting the summation of the result returned by the sub-report...

 

I encountered the late return value problem...

 

That's mean, the return value from sub-report is always one iteration late than the evaluation itself..

 

Therefore, how can I use scriptlet to overcome this problem....

 

Thanks,

Jacky Chan

 

 

 

 

By: Jacky - jacky11287

RE: I have some problem about scriptlet~~@.@

2004-07-30 02:16

The sum counts incorrectly due to the sub-report return value....

 

For example, I want 10 + 20 + 30 = 60

 

I returns to me the value is null + 10 + 20 = 30...

 

Therefore, one iteration is delayed~~~

 

How can I use scriptlet to overcome this problem..

 

Thanks,

Jacky Chan

 

 

 

 

By: Jacky - jacky11287

RE: I have some problem about scriptlet~~@.@

2004-07-31 05:48

I got the solution here:

https://sourceforge.net/forum/message.php?msg_id=2654161

 

Special thanks to Rick....

 

Thanks,

Jacky Chan

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...