Jump to content

Problem with parameters in jasperserver CE 3.7.0


dodi84

Recommended Posts

Hi all,

i have a problem and i need help with input contol in jasperserver CE 3.7.0 .. it replaces the parameters with '?' in the query... so the report does not display..

i used to work with jasperserver 3.5.0 and it was working just fine.

have any idea about this? please i really need some help

here is the query i use:

SELECT count('Record ID') as 'NumberOfRecords' , STATUS , Priority
FROM table
WHERE STATUS LIKE concat('%', $P{get_status},'%') AND 'Record Type' LIKE concat('%', $P{get_recordtype},'%') AND Priority LIKE concat('%', $P{get_priority},'%')
GROUP BY STATUS

and this is what i have in the log :

SELECT count('Record ID') as 'NumberOfRecords' , STATUS , Priority
FROM table
WHERE STATUS LIKE concat('%', ?,'%') AND 'Record Type' LIKE concat('%', ?,'%') AND Priority LIKE concat('%', ?,'%')
GROUP BY STATUS

thank a lot

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

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