Hi everyone,
Our database has a table that contains participant records. For some participants, there will be more than one record associated with his/her Social Security Number.
This is due to the fact that our participants can re-enroll in our program and are assigned to various worksites. For example John Smith, a participant, is assigned to one worksite (XYZ Dry Cleaners) on 01/10/2003 and leaves/exits the worksite on 01/30/2003. John can re-enroll with us and is assigned to a different worksite (ABC Hardware) on 02/25/2003.
We need to create labels to mail information to only the CURRENT worksites that hire our participants. I can successfully create the worksite mailing labels in Crystal 8.5. For example:
John Smith (999-99-9999)
ABC Hardware
2222 Main Street
Oakton, VA 20382
(Worksite assigned to John on 02/25/2003)
John Smith (999-99-9999)
XYZ Dry Cleaners
4444 South Avenue
Chantilly, VA 24657
(Worksite assigned to John on 01/10/2003, and in which he left on 01/30/2003)
But as you can see, the report displays not only the current worksite (ABC Hardware) but also the inactive worksite (XYZ Dry Cleaners). I do NOT want the inactive worksite to appear.
Can someone tell me how I can work around this? If it helps, a participant's CURRENT worksite label (if the participant has more than one worksite) always appears first like the example above.
Thanks so much!!!
dbew
Our database has a table that contains participant records. For some participants, there will be more than one record associated with his/her Social Security Number.
This is due to the fact that our participants can re-enroll in our program and are assigned to various worksites. For example John Smith, a participant, is assigned to one worksite (XYZ Dry Cleaners) on 01/10/2003 and leaves/exits the worksite on 01/30/2003. John can re-enroll with us and is assigned to a different worksite (ABC Hardware) on 02/25/2003.
We need to create labels to mail information to only the CURRENT worksites that hire our participants. I can successfully create the worksite mailing labels in Crystal 8.5. For example:
John Smith (999-99-9999)
ABC Hardware
2222 Main Street
Oakton, VA 20382
(Worksite assigned to John on 02/25/2003)
John Smith (999-99-9999)
XYZ Dry Cleaners
4444 South Avenue
Chantilly, VA 24657
(Worksite assigned to John on 01/10/2003, and in which he left on 01/30/2003)
But as you can see, the report displays not only the current worksite (ABC Hardware) but also the inactive worksite (XYZ Dry Cleaners). I do NOT want the inactive worksite to appear.
Can someone tell me how I can work around this? If it helps, a participant's CURRENT worksite label (if the participant has more than one worksite) always appears first like the example above.
Thanks so much!!!
dbew