How to add several SubReports

Stimulsoft Reports.WEB discussion
Post Reply
centenario
Posts: 3
Joined: Thu Jan 12, 2012 8:31 pm
Location: France

How to add several SubReports

Post by centenario »

Hi, im testing your software and it seems nice, i can make some high quality reports but i got some problems when im trying to make some reports.
All reports and subreports got as Datasource Stored Procedures (SP), SP 1 is the stored Prodcedure that retrieve all employee data, and the rest of Sureporters get data with some relation with those employee
Those reports got the next structure:

- Group Header - SP 1 (employeeID)

- DataBand 1 -SP 1 Employee Data (employeeID, EnterpriseID, Name...)
-Subreporter1 - SP 2 - got 2 parameters and their values come from row of DataBand1: @employeeID, @EnterpriseID
-Subreporter1 - SP 3 - got 2 parameters and their values come from row of DataBand1: @employeeID, @EnterpriseID
-Subreporter1 - SP 4 - got 2 parameters and their values that come from row of DataBand1: @employeeID, @EnterpriseID
-Subreporter1 - SP 5 - got 2 parameters and their values that come from row of DataBand1: @employeeID, @EnterpriseID
- End DataBand 1

-Footer Group

Well, i dont know how can i assign to parameters from subreports values from databand1, is it possible?
I've been trying with Relations and mastercomponent but data is absolutely wrong, show just numbers and not names...etc..

Thanks in advance


Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How to add several SubReports

Post by Alex K. »

Hello,

Can you please send us your report with test data for analysis.

Thank you.
centenario
Posts: 3
Joined: Thu Jan 12, 2012 8:31 pm
Location: France

How to add several SubReports

Post by centenario »

Hi, i've deleted that report, but i have created another one similar.
In this one thare are 4 datasources, one is the master and the other one are datasource thant bind subreports.
All subreports got as databand master the databand of datasource master.
Datasources from the firsts 2 subreports got relation datasource master and it retrieves info right
Last one got one parameter that is bind with a column from datasource master, datasource detail got property ReconnectoneveryRow = true.

I doesnt show info in a right way.

Datasources are Stored Procedures.

Where do i send you my report ?
centenario
Posts: 3
Joined: Thu Jan 12, 2012 8:31 pm
Location: France

How to add several SubReports

Post by centenario »

Well i attach my report
Thanks in advance.
Attachments
1567.ReportExample.mrt
(56.2 KiB) Downloaded 413 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How to add several SubReports

Post by HighAley »

Hello.
centenario wrote:Hi, i've deleted that report, but i have created another one similar.
In this one thare are 4 datasources, one is the master and the other one are datasource thant bind subreports.
All subreports got as databand master the databand of datasource master.
Datasources from the firsts 2 subreports got relation datasource master and it retrieves info right
Last one got one parameter that is bind with a column from datasource master, datasource detail got property ReconnectoneveryRow = true.

I doesnt show info in a right way.

Datasources are Stored Procedures.
You should set the relation on the Data Band of the third sub-report.

Thank you.

Post Reply