Jump to content
Changes to the Jaspersoft community edition download ×

How to increment a field automatically?


bbharat

Recommended Posts

Hi,

 

My problem is that I am getting a list of objects. Now to display this I am using something like

"listA[0].q" where listA is my list of objects and "q" is the element in object, I wanna display.

 

I wanna avoid hard coding integers(0-9) in my list while displaying the field and also limit it to only 8 fields.

 

Is there a way I can do this?

 

eg: so my final field name wud be somethin like "listA[x].q" where x is the variable.

 

So that I will only display 8 and reject others,if any.

 

I'd appreciate any replies asap.

 

Thanks

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