473,395 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Crystal Reports SubReport having a SubReport?

C
Hi,

I have a main Report which has a SubReport.

This SubReport also has a SubReport.

I set the data of my main Report and Subreport through code
DataSet dsMainReport = daLayer.GetMainReportData();
DataSet dsSubReport = daLayer.GetSubReportData();
string fileOutputPath =
Server.MapPath("../Reports/MainReport.rpt");

// Load the report
crReportDocument.Load(fileOutputPath);

//declare the tables
crTables = crReportDocument.Database.Tables;

//assign tables

crReportDocument.Database.Tables[0].SetDataSource(dsMainReport.Tables[0]);

crReportDocument.Subreports[0].Database.Tables[0].SetDataSource(dsSubReport.Tables[0]);

For the SubReport's SubReport I have set it to use a field on the SubReport
of the Main Report. Yet this SubReport does not get displated.

I only see the Main Report and it's SubReport.

Anyone know why? Can I have a Subreport which in turn has a SubReport?

Thanks.
Aug 23 '06 #1
0 4239

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tim Jones | last post by:
Hey all, I am trying to try get a crytal report running properly. A "Hello World" report that does not add criteria to the record selection formula of the report (either in the development tool,...
2
by: Tim Burda | last post by:
I posted this in another forum, but I'm adding it here to for more exposure.I am using Visual Studio 2003 and trying to get Crystal Reports to produce output. If you have any ideas, please let me...
3
by: Stig | last post by:
I'm having two tables with no relation and I want to list them both in one report. How can I do this. I have tried to use sub report, but cant get it to work? can someone please help me. If I just...
0
by: amber | last post by:
Hello, I have created a report using Crystal Reports 9 in VB.NET. I'm having trouble with a subreport. I have created a view in SQL server, and a dataset in VB.NET based on that view. I'm a bit...
0
by: Timmy Jones | last post by:
Hey all, I am trying to try get a crytal report running properly. A "Hello World" report that does not add criteria to the record selection formula of the report (either in the development tool,...
3
by: Brad | last post by:
I have just posted a variation of this question on the Crystal Reports board, but most times I do not get a reponse. I have a report in which I asked about yesterday and after working all day on...
1
by: Hardy Wang | last post by:
Hi all, I have a piece of code in my C# console application to export from crystal report files to PDF. For some reports files, I get errors below. I have Crystal Reports 8.5 with service pack...
1
by: MizukaEno | last post by:
Hello, experts. I'm using C# to create WinForms application with Crystal Reports as a reporting tool. I have three very simple table-like reports and I have one report with three subreports,...
2
by: Franck | last post by:
Ok i have a problem. What do i need to change to make crystal show subreport within subreports ? So i have 3 layer The MainReport Multiple SubReport Attached in the MainReport Multiple...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.