Hi Giulio, Actually I want to integrate this report with OpenbravoERP , So I take the value from window of Openbravoerp & that much time I want to show that sub_report . So How should I set that value in that JREpmtyDataSource(). Ur solution works only with empty data source but when I compile that report its show only one subreport. So can u give me the proper solution... Thanks & Regards Shainaz Post Edited by shainaz at 07/15/2009 06:25