Jump to content

Newbie...Please help!


Recommended Posts

I have created a report that has many descriptive static text fields & a database that populates the values of each value field. I have filled the detail band & understand that I have to add a dummy footer to continue with the rest of my report. I have added the rest of my fields/data to the dummy footer.


I have 2 problems. 1.) Several of the static text fields are repeating on my second page - which I do not want. 2.) I need to know how to get my detail & dummy footer to stay together on one page. I have seen the posts that state that all you have to do is to add the <groupExpression>$V{REPORT_COUNT}</groupExpression> to each of the dummy footers, but when I add this expression, I get a syntax error on token "(", "/" & ")". I am not sure where the brackets are coming from since I don't have any in the expression. I attached my current version of the report - so that you can see what I am talking about. Any help you can provide would be greatly appreciated.

[file name=GeoTAX_Summary2-a72e7b3097a10a32537888e8d550f381.pdf size=143986]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/GeoTAX_Summary2-a72e7b3097a10a32537888e8d550f381.pdf[/file]

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

1) You could put those static fields you don't want to repeat in the Title band as a sort of subtitle section or in the Column Header band with its printWhenExpression set to

$V{PAGE_NUMBER}.intValue() == 1


2) Though I'm not familiar with dummy footers/groups or how you've initialized your expressions, I know that Jasper Reports creates a temporary Java file to compile and validate its reports using a Java compiler, so that



Be sure that you're pairing parentheses and brackets in all field/group/variable expressions. The stack trace might point you to exactly the line where a comparable syntax error has occurred.


Hope that helps,


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