Report Design
 Crystal Reports Forum : Crystal Reports .NET 2003 : Report Design
Message Icon Topic: Repeating Records Post Reply Post New Topic
Author Message
Gurojee
Newbie
Newbie


Joined: 23 Feb 2009
Location: India
Online Status: Offline
Posts: 6
Quote Gurojee Replybullet Topic: Repeating Records
    Posted: 10 Jun 2009 at 5:59pm

Hi,

if records are extracted from different tables using inner joins. How can we avoid duplication or repetition of records in the reports?


Any Idea please!!

Cry
IP IP Logged
Valmont
Newbie
Newbie
Avatar

Joined: 29 Jan 2007
Online Status: Offline
Posts: 39
Quote Valmont Replybullet Posted: 11 Jun 2009 at 7:25am

For that you'll need to know the database design/structure. One method is to make multiple inner joins between tables. Second way, is to "suppress duplicates". But be warned that supressing duplicates doesn't mean your count/sum functions will be correct. It will still add all double records. See "3 step formula" on the net on how to avoid this.

But the first question is: why are multiple entries written. From there, see if there's really no correct way to set the joins.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 23 Jun 2009 at 6:30am
Depending on the data, you might put the part that is duplicating in a group header.  Or do a select distinct.  Then the records won't be exact duplicates.  Something is different, and one would suppose that you want to report on the difference.
 
HTH
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.