Karl Wilkens
Top achievements
Rank 1
Karl Wilkens
asked on 07 Jan 2013, 01:36 PM
Hi, we are using Q3 2012 Reporting, and have a class library that contains all our reports. We are creating sub reports and in our main report, in the sub-report properties tab, click ReportSource, and then select Object Instance, and finally, select document from the drop down. The resulting list only contains some, but not all of the reports in our report class library. Why is this so?
5 Answers, 1 is accepted
0
Hi Karl,
Check the following:
Stef
the Telerik team
Check the following:
- If the needed references to the report libraries are added;
- If all reports are successfully built;
- If all reports use the same Telerik Reporting version, if you have recently upgraded your projects.
If none of these is the issue, please elaborate, so we can help you.
All the best,Stef
the Telerik team
HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
0
Riyadh
Top achievements
Rank 1
answered on 16 Oct 2013, 08:52 AM
I have the same problem but my problem is
not some reports all reports don't display in the list to select Report Source Object Instance and browse nothing for report document
can you help and give a way to display them and select one of them thanks
not some reports all reports don't display in the list to select Report Source Object Instance and browse nothing for report document
can you help and give a way to display them and select one of them thanks
0
Hello Riyadh,
Please elaborate on your issue:
Regards,
Stef
Telerik
Please elaborate on your issue:
- Have you tested the suggestions from my previous post?
- What is the type of the targeted reports?An Object instance can be only a report built with Visual Studio. XML report definitions can be linked by URI.
If you need further help, shows us the solution structure and let us know the version used to build both master and details reports.
Regards,
Stef
Telerik
Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.
0
Riyadh
Top achievements
Rank 1
answered on 18 Oct 2013, 05:15 PM
At first thanks for your interested Mr Stef
I need your help for some another points related Telerik Report but at first finish this problem then move to another so important points
I read about How to: Create a Master-Detail Report Using a SubReport Item
I solve this problem with this way I create a report on different DLL Project and watch it
but the problem now is how to can assign the current row of master with sub report (details)
I using Object Data Source to assign the report with the names of fields
and assign with form and select data from data base with this way
var v = Data.RptPerson.Select();
Report.RptPerson r = new Report.RptPerson();
r.DataSource = v;
reportViewer1.ReportSource = r;
reportViewer1.RefreshReport();
this report is master and I have another information in database related with person I want to show it on sub report for each person
the sub report must accept a parameter personid to show the info of that person
but Object Data Source with the name of fields but don't select data from Data base ( i mean is not method only structure of table )
make the solve is more difficult can you help
I don't know if all things are clear I wish that
thanks anyway
I need your help for some another points related Telerik Report but at first finish this problem then move to another so important points
I read about How to: Create a Master-Detail Report Using a SubReport Item
I solve this problem with this way I create a report on different DLL Project and watch it
but the problem now is how to can assign the current row of master with sub report (details)
I using Object Data Source to assign the report with the names of fields
and assign with form and select data from data base with this way
var v = Data.RptPerson.Select();
Report.RptPerson r = new Report.RptPerson();
r.DataSource = v;
reportViewer1.ReportSource = r;
reportViewer1.RefreshReport();
this report is master and I have another information in database related with person I want to show it on sub report for each person
the sub report must accept a parameter personid to show the info of that person
but Object Data Source with the name of fields but don't select data from Data base ( i mean is not method only structure of table )
make the solve is more difficult can you help
I don't know if all things are clear I wish that
thanks anyway
0
Hello Riyadh,
The described scenario is master-details report illustrated in the How to: Create a Master-Detail Report Using a SubReport Item help article:
You can check the Invoice demo illustrating the Master-Details scenario in our local example, located by default under C:\Program Files (x86)\Telerik\Reporting Q3 2013\Examples\CSharp\ReportLibrary\Invoice.
Other approach is to leave both master and details reports without data and use the master report's NeedDataSource and the SubReport.NeedDataSource(or the details report's NeedDataSource) events to set the data. For more details take a look at Using the NeedDataSource event to connect data help article.
If you need further help, please open a support ticket and send us a sample project illustrating your scenario.
Regards,
Stef
Telerik
The described scenario is master-details report illustrated in the How to: Create a Master-Detail Report Using a SubReport Item help article:
- There is a master report with its own data source and a sub report with other data source. Both reports data is related by some field(column);
- In the sub report there is a report parameter by which its data is filtered;
- In the master report Detail section is placed a SubReport item, which ReportSource is set to the sub report. Notice at Configure the SubReport in the tutorial we set the SubReport.ReportSource and link the sub report parameter to get value from a field in the master report.
You can check the Invoice demo illustrating the Master-Details scenario in our local example, located by default under C:\Program Files (x86)\Telerik\Reporting Q3 2013\Examples\CSharp\ReportLibrary\Invoice.
Other approach is to leave both master and details reports without data and use the master report's NeedDataSource and the SubReport.NeedDataSource(or the details report's NeedDataSource) events to set the data. For more details take a look at Using the NeedDataSource event to connect data help article.
If you need further help, please open a support ticket and send us a sample project illustrating your scenario.
Regards,
Stef
Telerik
Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.