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

Crystal report problem

63
Dear friends

I am working on a windows application and I am using
crystal reports in that.I have a table Country and another table State in the database.I want to show the report as follows.

Country(TableName) State(TableName)

India TN
AP
Maharashtra

America California
Los Angeles

But I am not able to get it I am getiing like this


India TN
AP
Maharashtra
California
Los Angeles

India TN
AP
Maharashtra
California
Los Angeles

India TN
AP
Maharashtra
California
Los Angeles

America TN
AP
Maharashtra
California
Los Angeles

America TN
AP
Maharashtra
California
Los Angeles


The country is one main report and in that state is a sub report I want to link these 2 using countryId and want to avoid repeatition of Countryname.

Can anyone of you pls help me?
Thanks for help in advance.

bye Paulson.
Mar 20 '08 #1
5 922
debasisdas
8,127 Expert 4TB
How are you retrieving from database ?

What is the SQL that you are using ?
Mar 20 '08 #2
Paulson
63
Hey guys

I need to show a crystal report in which name of countries must be a report.State names a sub report within it and citynames
another sub reports within it.I dont think that we can make a subreport in a
subreport. So i made a main report for countries and in that I made 2 sub reports
but for each country all the country names and state names are repeating.

How can I avoid this repeatition ?

Pls help me.

Thanks for any help in advance.

bye Paulson.
Mar 21 '08 #3
Paulson
63
HI ,


Thanks for reply.I used the crystal report wizard option selected the two tables I needed and using the Link options I gave a right join "=" in the Link options.Then I made a subreport and showed the join result in the subreport.
Then I made a main report and showed the countrynames only in the main report.I made the subreport a subreport in main report and linked using the country name.Then it came correctly.My problem is now solved but I got another problem > I need to show another subreport in the state names that has the citynames.I tried subreort within subreporrt but it is not working.
I tried to make 2 subreports in the main report and link using statename and country name but doing so so many columns are repeating.
Do you have any idea how to solve this problem?
Please help me.

Thanks in advance.

bye Paulson.
Mar 21 '08 #4
Hi,

Have added the Filter link of sub report there ? I think after adding it , may solve ur proble.
Mar 22 '08 #5
Paulson
63
Hi,

Have added the Filter link of sub report there ? I think after adding it , may solve ur proble.
Thanks for the reply I will be checking it out and I will reply to you
Thanks for the help.

Paulson.
Mar 25 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports...
4
by: Grant Stanley | last post by:
I'm developing an application in VS.Net 2003 using C#, which uses Crystal Reports. When creating each report, crystal asks where the database to use is, so I specify our SQL server using the ADO...
2
by: GC | last post by:
HI, I'am using Crystal Report with visual Studio .NEt 2003 When i make a report using a store procedure, I can not see all the fields of the store proc and i'm suppose to see those fields. I'm...
6
by: Robin Cushman | last post by:
Hi all, I need some help -- I'm working with an A2K database, using DAO, and am trying to read records into a Crystal Report and then export it to a folder on our network as an Excel...
3
by: Deasun | last post by:
I need some help please! Crystal is driving me nuts. Heres my code so far, see below. Problem: On the .export() line it comes back with error #5 Login failed! I know the login info is good so...
3
by: Milan Todorovic | last post by:
Hello, I need help. I have experience in ASP.NET programming, but this is my first dealing with Crystal Reports. I'm trying to make the most basic report purely for testing purposes: connect to...
19
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set...
17
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're...
3
by: FeveZ | last post by:
I've been stuck on a problem now for ages and i'm about ready to pack my project in because of it lol. OK here is my scenario. I have an existing Crystal Report, which I have added to my...
11
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
How can I stop receiving this message while calling a crystal report? "The report you requested requires further information." Thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
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.