Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Duplicate Data in Report Post Reply Post New Topic
Author Message
anilgenius
Newbie
Newbie


Joined: 01 Nov 2012
Location: India
Online Status: Offline
Posts: 1
Quote anilgenius Replybullet Topic: Duplicate Data in Report
    Posted: 01 Nov 2012 at 7:55am
Its more than 10 hours could not figure out why my report is showing duplicate data. i have 2 dataset tables in my report and i can see my record is exactly duplicating like this.
Main Table 1 record * No. of records in 2nd table.

I m using link in database expert.

Looking forward to experts here.

Anil
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 01 Nov 2012 at 8:22am
sound like either your join is incorrect and you are getting the cartesian product (no table1 * no table2)
 
or your data is exactly as it should be
(table1 * no table2)
 
if you have 2 records in table2 that match the join criteria in table1, you should get 2 records...and if you display table1 data it will duplicate.
 
usually to get around this, you put your table1 fields in a group header so that they are only displayed once, and you put the table2 records in details or another group so that they are displayed correctly.
 
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.017 seconds.