jasper report datasource issue

hi folks,

my main report is based on sql query and my subreport is based on servoy foundset using data source expression for subreport but when i doing this. this exception comes

Exception Object: java.lang.Exception: java.io.NotSerializableException: com.servoy.plugins.jasperreports.JRFoundSetDataSource
MSG: java.io.NotSerializableException: com.servoy.plugins.jasperreports.JRFoundSetDataSource

is this possible in ireport to use both the data source sql query and foundset.

Thanks in advance

How are you passing the foundset to the main report? As a parameter?

thanks for the reply

my main report is sql based and subreport is foundset based and passing the datasource for subreport in parameter from servoy. is it possible to use query based and foundset based report together.