Go Premium for a chance to win a PS4. Enter to Win


crystal reports joins

Posted on 2010-11-23
Medium Priority
Last Modified: 2012-05-10
How do you join sql server tables in the below scenario in crystal?

Table 1.
ReelNumber -accepts Table3 ChildReelNumber values or Table2 ReelNumber values


ChildReelNumber(values are based on column ReelNumber i.e if ReelNumbe is C2525 and tehre are five ChildReelNumber numbers each will be named C2525/1 ,C2525/2 etc etc)

My current link are giving duplicates based on the number of ChildReelNumber rows.

How can i sort this out?
Question by:NormanMaina
  • 4
LVL 77

Expert Comment

ID: 34195990
I don't understand the structure you are describing.

Please provide a brief description of each table and how it relates to the other two?
LVL 12

Author Comment

ID: 34196123
LVL 12

Author Comment

ID: 34196131
am hoping the above diagrams explain my problem.

The other way would be to create a formula to output data in the report depending on the printstage.
I tried that but still got the same results.
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

LVL 12

Author Comment

ID: 34196213
I don't mind modifying the db if i have to.
LVL 101

Accepted Solution

mlmcc earned 1000 total points
ID: 34197169
That is the way linking works.  Each record in a table is linked to each record in the other tables.  Since you have multiple records in one of the tables you will get multiple copies of the other fields.

One way around this in the report would be to put the information into the group header or footer so it is displayed only once.

LVL 12

Author Closing Comment

ID: 34215526
I had to make changes to the database design

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question