spring mvc - My sql IN function not working in jasper ireport -
i passing po no parameter ('aerotech/ata/05/12','acspl/po-0333/2013-14','acspl/po-0333/2013-14') in jasper sql query .single value working fine multiple value not working . please help.........
parameter name="po_no" class="java.lang.string"
select cus.project_customername,cus.project_customer_billaddress, cus.line2_billaddress,cus.line3_billaddress,cus.project_customer_phoneno, cus.project_customer_fax,cus.project_customer_email,cus.city,cus.project_customerstate1, cus.project_customer_country,cus.project_customer_postcode cus_comercial_invoice inn, cus_comercial_invoice_reference inr, customer_purchase_order po, customer_quatotion cq,enquiry_master_item ey, cutomer_mater cus po.purchase_id in ($p{po_no}) , po.quotation_no=cq.quotation_no , cq.enqueryid=ey.enquiry_id , ey.customer_id=cus.projet_customer_id , inn.cus_invoice_idno=inr.invoice_idno , inr.quantity!=0 , inn.cus_invoice_idno=$p{quatation_cus_id}
the syntax need is:
$x{in, <db_col_in_query>, <param_name>}
the parameter of type query.
it's in ireport / studio documentation
Comments
Post a Comment