473,401 Members | 2,068 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,401 software developers and data experts.

Subreports in crystal reports

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 create an subreport with one static text object it will not even
then show at runetime.
Oct 20 '05 #1
3 6231
Man oh man, when you have it working, Crystal is great. Geting there
however sometimes feels like a monumental feat.

First I recommend that you draw out on paper what you envision the report to
look like. Plan it all out, because some changes will require you to start
all over, at least it feels like it.

Second, you should have a master report and two sub reports. Each sub
report will contain the data that you are seeking and the master report just
houses the reports.

From memory, I would do this.

1. Create a blank report
2. Define your data connection
3. Right Click on the detail section band, select insert section below
4. In detail 'A' insert an embedded subreport, it should be aware of your
data connection and allow you to make the appropriate selections
5. In detail 'B' repeat

6. Save and incorporate into your application

HTH

"Stig" <St**@discussions.microsoft.com> wrote in message
news:03**********************************@microsof t.com...
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 create an subreport with one static text object it will not even
then show at runetime.

Oct 20 '05 #2
Thanks for your response, but this is exactly what I have tried to do several
times. And I know I have the data for both tables also. Because if I try to
use a cross-tab, data from both tables are showing. If I just create one
subreport with one text object and write hello World:-) in it. Even this
doesn't show up at runtime. I'm really desperate now.

"AMDRIT" wrote:
Man oh man, when you have it working, Crystal is great. Geting there
however sometimes feels like a monumental feat.

First I recommend that you draw out on paper what you envision the report to
look like. Plan it all out, because some changes will require you to start
all over, at least it feels like it.

Second, you should have a master report and two sub reports. Each sub
report will contain the data that you are seeking and the master report just
houses the reports.

From memory, I would do this.

1. Create a blank report
2. Define your data connection
3. Right Click on the detail section band, select insert section below
4. In detail 'A' insert an embedded subreport, it should be aware of your
data connection and allow you to make the appropriate selections
5. In detail 'B' repeat

6. Save and incorporate into your application

HTH

"Stig" <St**@discussions.microsoft.com> wrote in message
news:03**********************************@microsof t.com...
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 create an subreport with one static text object it will not even
then show at runetime.


Oct 21 '05 #3

Are you getting any errors or exceptions. How are you attempting to display
the report, winform and report viewer, or via asp.net?

How are you associating the data? Dataset, Connection Properties? Are you
attempting to change the location of the server before opening the report?

Where are you placing this text object? If you are placing it in the detail
section, it should be empty if there is no corresponding data. Place the
text object in the report header or report footer.

Do you have the section that the subreport is in set to suppress? Do you
have the subreport set to suppress.
I realize that most of these are trivial questions, but as I cannot see what
is occurring, I have to start from the beginning.

I you wish, send me screenshots to my email account and I will try to help
you out.

"Stig" <St**@discussions.microsoft.com> wrote in message
news:44**********************************@microsof t.com...
Thanks for your response, but this is exactly what I have tried to do
several
times. And I know I have the data for both tables also. Because if I try
to
use a cross-tab, data from both tables are showing. If I just create one
subreport with one text object and write hello World:-) in it. Even this
doesn't show up at runtime. I'm really desperate now.

"AMDRIT" wrote:
Man oh man, when you have it working, Crystal is great. Geting there
however sometimes feels like a monumental feat.

First I recommend that you draw out on paper what you envision the report
to
look like. Plan it all out, because some changes will require you to
start
all over, at least it feels like it.

Second, you should have a master report and two sub reports. Each sub
report will contain the data that you are seeking and the master report
just
houses the reports.

From memory, I would do this.

1. Create a blank report
2. Define your data connection
3. Right Click on the detail section band, select insert section below
4. In detail 'A' insert an embedded subreport, it should be aware of your
data connection and allow you to make the appropriate selections
5. In detail 'B' repeat

6. Save and incorporate into your application

HTH

"Stig" <St**@discussions.microsoft.com> wrote in message
news:03**********************************@microsof t.com...
> 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 create an subreport with one static text object it will not
> even
> then show at runetime.


Oct 21 '05 #4

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

Similar topics

1
by: RedZebra | last post by:
Hi I am calling and viewing Crystal Reports in internet explorer(using ASP pages) by passing them the selection formula for the main report. Its working fine. The problem is when the report has...
1
by: Don Sealer | last post by:
I have a report that includes 5 different subreports. I'd like to be able to open this report using a date function (Start Date and End Date). I'd like all five subreports to show the data from...
0
by: Don Sealer | last post by:
I have a report that includes 5 different subreports. I'd like to be able to open this report using a date function (Start Date and End Date). I'd like all five subreports to show the data from...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: Craig G | last post by:
we have a vb.net app that displays a series of reports this is all working fine when it is just one report, but if we have a report which contains a subreport then it fails, i assume you need to...
0
by: KartoffelKiffer | last post by:
Hello, i have to do a little Crystal Report task, where i need help. I have a mainreport in which are some subreports. The size of the subreports can vary so the subreport which could be bigger...
0
by: Henry | last post by:
I have written an ASP/VB.Net application via VS 2003 (Crystal V9) that uses MS Access 2000 as its database. I can export reports that have no linked sub reports for printing. However, I'm unable...
4
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...
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...
10
by: glenfernandez | last post by:
HI there, Need a little help with the reporting component of my MS Access 2002 project and would appreciate any insight / help from the experts. Please bear with me as I am still learning Access...
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: 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?
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.