Jump to content
Changes to the Jaspersoft community edition download ×

How to print dynamic field in to report using sql


kchavda

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

How many values/rows that your field have?

for your example, this is what I do.

I will drag the field/column thrice into detail band. for the first column, I use print when expression and write

$V{REPORT_COUNT}==1

which means that the first row is displayed. Similarly, I will do for the other two columns.

If your field has more than 5 values then you need to consider for another choice.

 

Let me know how it worked for you

 

Link to comment
Share on other sites

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