Jump to content
Changes to the Jaspersoft community edition download ×

')' Expected Error


Recommended Posts

By: mike w - mwans

')' Expected Error

2003-04-30 14:58

Hello,

I am creating a dynamic query and I am getting the following compilation error:

 

C:ECPSourcewwwreportsTBL_02_EVENT_TOTAL.java:104: ')' expected

 

value = (java.lang.String)("SELECT SUM(COUNT(VW_TBL_02_EVENTS.YEAR)) AS EVENTS_TOTAL FROM VW_TBL_02_EVENTS " + ((java.lang.String)parameter_yearExpression.getValue()) " " + " " + ((java.lang.String)parameter_agencyCodeExpression.getValue()) " " + " " + ((java.lang.String)parameter_countyExpression.getValue()) + " GROUP BY VW_TBL_02_EVENTS.SHORT_DESCRIPTION"));

 

Here is the code I believe it is referring to:

 

<parameter name="theQuery" class="java.lang.String">

<defaultValueExpression><![CDATA["SELECT SUM(COUNT(VW_TBL_02_EVENTS.YEAR)) AS EVENTS_TOTAL FROM VW_TBL_02_EVENTS " + $P{yearExpression} " " + " " + $P{agencyCodeExpression} " " + " " + $P{countyExpression} + " GROUP BY VW_TBL_02_EVENTS.SHORT_DESCRIPTION")]]></defaultValueExpression>

</parameter>

 

I have checked the other parameter expressions and they are Ok. It is when I combine all of them into this one statement that I get a problem. Please help.

 

Thanks,

Mike

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