Thanks Carlos for your quick answer
I see that link but it does not answer to my question . My problem is taht the main report is populated by java bean datasource and the subreport is a sql quiery that uses some fields in main report as condition (i create the parameters both in the main report and the subreport ) so the parameter is passed but the result fields in subreport displays null
Regards
thanks