Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Grouping Issue Post Reply Post New Topic
Author Message
Vack
Newbie
Newbie


Joined: 22 Oct 2008
Location: United States
Online Status: Offline
Posts: 24
Quote Vack Replybullet Topic: Grouping Issue
    Posted: 15 Jun 2009 at 6:23am
Crystal XI
I am putting together a Supervisor listing based off of an employee table.
 
Each employee has a Supervisor# and Supervisor First and Last Name. I made a formula that concatenated all 3 fields and grouped by that field.
 
SUPR#+SUPRFN+SUPRLN
 
 
Then when I drag the Phone# field into the Group Header it pulls in the phone number of the first person in the group and not the phone number of the supervisor.
 
I have also tried just creating the group just using Supervisor# and I get the same results.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 15 Jun 2009 at 6:47am

I assume the supervisor is also technically an employee and therefore their phone # is on their employee row but what you are getting is the first person they supervise.

Try adding the table to the report twice and connecting the superviosor ID from one table to the employee ID in the second table. From theere you should only have a list  of employee records that are supervisors.
IP IP Logged
Vack
Newbie
Newbie


Joined: 22 Oct 2008
Location: United States
Online Status: Offline
Posts: 24
Quote Vack Replybullet Posted: 15 Jun 2009 at 7:06am
worked like a charm. 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.031 seconds.