Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Using Grouping to identify duplicate records Post Reply Post New Topic
Author Message
mtparki
Newbie
Newbie
Avatar

Joined: 17 Oct 2013
Location: Australia
Online Status: Offline
Posts: 3
Quote mtparki Replybullet Topic: Using Grouping to identify duplicate records
    Posted: 21 Oct 2013 at 11:54am
I'm using Crystal Reports XI.

I'd like to create a report to identify duplicate records in a table and show the userid that created the most recent duplicate record.

At the moment I'm grouping the records by item_name and doing a count to show the records with duplicate item_names.  However, I'd also like to display the userid of the record with the most recent date.

I know how to display the latest date in the grouping, but how do I get the corresponding userid?

Any suggestions?

Thanks
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 21 Oct 2013 at 12:17pm
go into record sort expert in report tab
and add your date field with descending order.

Edited by kostya1122 - 21 Oct 2013 at 12:17pm
IP IP Logged
mtparki
Newbie
Newbie
Avatar

Joined: 17 Oct 2013
Location: Australia
Online Status: Offline
Posts: 3
Quote mtparki Replybullet Posted: 21 Oct 2013 at 3:28pm
I should have mentioned that I'm suppressing the detail.

I know how to display the latest date in the grouping, but how do I get the corresponding userid to also display in the grouping?
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 22 Oct 2013 at 7:00am
this should have worked
you just place the userid and the date into group header.
have you tried it and didn't work?
IP IP Logged
mtparki
Newbie
Newbie
Avatar

Joined: 17 Oct 2013
Location: Australia
Online Status: Offline
Posts: 3
Quote mtparki Replybullet Posted: 22 Oct 2013 at 12:48pm
I understand now.

Yes, it is working, although I have to do date ascending to get the latest date to show.

Thanks a lot.
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.