473,563 Members | 2,658 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6252
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**@discussio ns.microsoft.co m> wrote in message
news:03******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message
news:03******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message
news:44******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message
news:03******** *************** ***********@mic rosoft.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
7752
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 one or more subreport which also requires selection formulas for them. I tried to find out from docs but it seems there is no info on it, neither in...
1
2117
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 those dates. I have learned how to use this start/end function but I can't figure out how to use it with these subreports. Right now the report...
0
1299
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 those dates. I have learned how to use this start/end function but I can't figure out how to use it with these subreports. Right now the report...
7
4989
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. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version,...
3
9229
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 logon to the subreports also but im not sure how to. the subreports also require 4 parameter values to be passed to it any help would be greatly...
0
2382
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 than before overlap the other subreports. Is it psossible that the subreports are fixed an when they need more place the size could be bigger ? I...
0
2692
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 to export reports that have linked subreports. I receive (a "Missing parameter field current value") on the following statement: ...
4
1050
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 create an subreport with one static text object it will not even then show at runetime.
2
2862
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 SubSubReport Attached in the SubReports Showing the SubReport itself by bypassing the MainReport the SubSubREport are showing
10
3162
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 and this is my first project using it. I'm generating a financial reporting system for a bank and have created a form for user input to dynamically...
0
7580
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7882
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6244
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5481
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3634
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3618
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2079
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.