Jump to content
We've recently updated our Privacy Statement, available here ×

How to find the last column number?


jjones_4

Recommended Posts

Can someone tell me how to find the last column number?  I have a report with 4 columns.  The print order is set to Vertical.  The last record printed in the 3rd column.  I would like to print a message immediately after the last record.  I can put the message in the column footer and use "print when" to only print it in the last column if I knew what the last column number was.  Any help is appreciated.

Thanks.

Jeff

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

I believe there should be a way in jasper to move the last text element, but i would prefer to include the text in the sql itself.

Try using a union at the bottom of your query with the message that you want to display.

The message will be considered as the last text field and will be populated in the last column always. 

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