das.sujit1 Posted September 14, 2021 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
gustavofarias Posted September 14, 2021 Posted September 14, 2021 https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v60/using-parameters-queries#jss-user-parameters_221620694_1025261
bigalex Posted October 8, 2021 Posted October 8, 2021 $X{IN,CAT.CAT_CAT_NO,employerRefNumber} $P{employerRefNumber} must be collection class
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