Jump to content
Changes to the Jaspersoft community edition download ×

Crosstab parameters


2006 IR Open Dicussion

Recommended Posts

By: Stephen Hughes - srhughes

Crosstab parameters

2006-05-11 02:14

Is there any way to nest a parameter inside a field expression: eg. $F{$P{para}}

 

When I type this into iReport I get an error. Is there a special syntax?

 

Thanks

Stephen

 

 

 

 

By: Stephen Hughes - srhughes

RE: Crosstab parameters

2006-05-12 03:02

Is it possible to use an arangement like this to return the appropriate field:

 

new String($P{para_x} == "Sport" ? $F{Sport}:$F{Item})

 

I have tied this, but the report always returns the field last in the expression ($F{item} in the example above? I want the user to be able to choose which field to display in the crosstab.

 

 

 

 

By: Stephen Hughes - srhughes

RE: Crosstab parameters

2006-05-16 03:58

The reason I got an error above was that I had Groovy turned off! Turning it on works great.

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