Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Field Comparisons? Post Reply Post New Topic
Author Message
Quirky
Newbie
Newbie
Avatar

Joined: 18 Jun 2012
Location: United Kingdom
Online Status: Offline
Posts: 8
Quote Quirky Replybullet Topic: Field Comparisons?
    Posted: 16 Jul 2012 at 6:21am
Hiya All :)

We have a table that holds four (or five) previous addresses for people (as well as their current address).

I need a way of comparing all 4 or 5 records and highlighting which ones are the same.

Example:
14 Cromby Street, JM8 7BH
28 Mills Road, KD5 8HC
9 Oban Drive, G56 734
28 Mills Road, KD5 8HC
17 Johns Road, KG6 5FG

I need it to highlight the 2nd and fourth records as being the same address.

I tried using next/ previous but that limits me to just the records next to one another.

Is there another way to do it?

Cheers,
Q
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 16 Jul 2012 at 6:34am
The only thing I can think of is to store all the addresses in an array, then loop through the array and mark the duplicated ones.  Sorry I do not have code available.

I hope this helps.
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.