Jump to content
Changes to the Jaspersoft community edition download ×

groupExpression evaluating two expressions

Recommended Posts

By: bthompson - sourceforgerer

groupExpression evaluating two expressions

2002-09-20 14:47

is it possible to do something like the following?


<groupExpression>($F{id} && new Boolean($F{resultsLimit}.intValue() > $V{limitCnt}.intValue()))</groupExpression>


I need it to group id's but also limit the number of times the group is written.


Thanks in advance.







By: Rizwan - rizmerc

parameter based groupExpression

2003-10-06 15:38


I'm trying to determine the group expression at run-time using a scriptlet method based on an input parameter.








the determineGrouping method returns a java.lang.String "$F{LotNumber}", so that grouping can be done based on the lot number field. But this doesnt seem to work. If I replace the scriptlet call by $F{LotNumber} then the grouping works fine.


Hope someone can help.



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...