Passing the List of primitive type objects as datasource for subreport

前端 未结 3 1198
面向向阳花
面向向阳花 2020-11-30 05:18

I need to pass to my subreport a dataSource with help of master report\'s List parameter. I don\'t know what is

3条回答
  •  甜味超标
    2020-11-30 05:47

    You have to specify what field you're using in your sub report. You are passing $F{} and as you are passing a List as a DataSource you should put $F{_THIS}. Of course you have to add a field with that name too, only doing that you can use the expression $F{somefield}.

提交回复
热议问题