So, i tried again with changing of paramteres and i observed that if a Collection's object e.g: [1,2,3] is being passed to the report, then the following expression Code:where report_id in ($P{p_reportID}) would evaluate to : Code:[code] where report_id in (1,2,3) This would give an error. So, i made two variables, One p_reportID as a java.util.Collections and str_p_reportID as java.lang.String Now, str_p_reportID has a default expression of org.apache.commons.lang.StringUtils.join($P{p_reportID}.toArray(),',') I then use str_p_reportID in the query as: Code:[code]where report_id in $P{str_p_reportID} This was supposed to return ("1","2","3") but it now returns ("1,2,3"). I am kinda stuck ova here... Post edited by: umair, at: 2008/05/07 14:52