Jump to content

use variable in a method call


collinm

Recommended Posts

hi

i use ireport

to display data in a report i do

$F{bean}.get(0).getFirstName()[/code]

 

is there a way to replace the 0 by a variable?

 

i tried

$F{bean}.get($V{ROW_COUNT}-1).getFirstName()[/code]

 

but i get an evalution error...

 

any idea?

thanks



Post Edited by collinm at 08/31/2009 15:01
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...