Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: only print ee's with multiple union#'s Post Reply Post New Topic
Author Message
colinb
Newbie
Newbie


Joined: 09 Oct 2015
Online Status: Offline
Posts: 3
Quote colinb Replybullet Topic: only print ee's with multiple union#'s
    Posted: 13 Oct 2015 at 5:01am
Good Morning

I'm using the time card history file, which has    different union #'s for the same employee.

I only want to print those ee's with multiple union #'s and have tried using previous / next with no luck.

I am grouping first by Employee# and then by Union#

Any help would be appreciated
Thank you
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 13 Oct 2015 at 5:48am
do s group summary as a distinct count of the union number field at eh Employee# group
this should give a value where 1 means staff with only one union # and anything > 1 is the records you seek.
You can then add a group filter on the report using that summary result.
something like
DISTINCTCOUNT(unionid,employeeid)>1
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.047 seconds.