Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Distinct Count vs Count Post Reply Post New Topic
Author Message
jsh8286
Groupie
Groupie
Avatar

Joined: 09 Mar 2012
Online Status: Offline
Posts: 46
Quote jsh8286 Replybullet Topic: Distinct Count vs Count
    Posted: 16 Jan 2020 at 1:57pm
Have a detail field that is "supposed" to increment by '1' for each record.

So the last record (which starts at 1, 2, 3 etc...)ends at 9204 BUT the distinct count for this field is only 9192. So there are 12 records missing.

Instead of sifting through nine thousand entries looking at this field to see when it skips is there a way to flag the next detail record to say it skipped?

Eg. Field = 14 at record 14
    Field = 16 at record 15

Can Record 15 be flagged somehow as a tip off?

Thanks in advance for postings.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 17 Jan 2020 at 2:18am
sort by that field and add either select or suppress using the next() or previous() functions
e.g.
field+1<>next(field)

Edited by DBlank - 17 Jan 2020 at 2:19am
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.