das.sujit1 Posted September 14, 2021 Share Posted September 14, 2021 I have a query like this SELECT * FROM CATEGORY CAT WHERE CAT.CAT_CAT_NO =$P{employerRefNumber} Now I want to pass in cluse in where condition likeSELECT * FROM CATEGORY CAT WHERE CAT.CAT_CAT_NO in ($P{employerRefNumber} )value of employerRefNumber should be 'C001','C002' like this.Kindly guide me proper sysntex of this query in jasper report Link to comment Share on other sites More sharing options...
gustavofarias Posted September 14, 2021 Share Posted September 14, 2021 https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v60/using-parameters-queries#jss-user-parameters_221620694_1025261 Link to comment Share on other sites More sharing options...
bigalex Posted October 8, 2021 Share Posted October 8, 2021 $X{IN,CAT.CAT_CAT_NO,employerRefNumber} $P{employerRefNumber} must be collection class 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