dodi84 Posted July 14, 2010 Share Posted July 14, 2010 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 helphere is the query i use:SELECT count('Record ID') as 'NumberOfRecords' , STATUS , PriorityFROM tableWHERE STATUS LIKE concat('%', $P{get_status},'%') AND 'Record Type' LIKE concat('%', $P{get_recordtype},'%') AND Priority LIKE concat('%', $P{get_priority},'%')GROUP BY STATUSand this is what i have in the log :SELECT count('Record ID') as 'NumberOfRecords' , STATUS , PriorityFROM tableWHERE STATUS LIKE concat('%', ?,'%') AND 'Record Type' LIKE concat('%', ?,'%') AND Priority LIKE concat('%', ?,'%')GROUP BY STATUSthank a lot Link to comment Share on other sites More sharing options...
tmatyashovsky Posted July 28, 2010 Share Posted July 28, 2010 Hi, Jasper server passed real data for the input parameters instead of ? signs. So that's not the problem. Please check once more query, input parameters and fact that data exist in the db. Best regards,Taras Matyashovsky Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now