passing parameters to subreport

Stimulsoft Reports.Flex discussion
Locked
brave.consulting2008
Posts: 4
Joined: Wed Nov 30, 2016 2:58 pm

passing parameters to subreport

Post by brave.consulting2008 »

I have a report with data grouped by two columns.

I put one subreport on the main data band. and would like to pass the grouped column values to the subreport and show the filtered data from another datasource on this subreport.

Is it possible?

Thanks,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: passing parameters to subreport

Post by HighAley »

Hello.

Please, look at the Master-Detail Report and Sub-Reports sample.

Also you could use the Sub-report parameters.

Thank you.
brave.consulting2008
Posts: 4
Joined: Wed Nov 30, 2016 2:58 pm

Re: passing parameters to subreport

Post by brave.consulting2008 »

it seems working: i grouped my main data source; then put a sub-report in main data band adding a relation between the main data source and the data source of this sub-report.

In my case, i also added dynamic parameters from end user to the sub-report data source to filter my data.

Thanks,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: passing parameters to subreport

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.
Locked