I have a reports with a few groups (employee number and Cost Centre), in the details section I get multiple records for each person due to salary changes.
I want to select each person if they are current or not (despite having them appear more than once in the details section). I have been using a formula which allocates 1 or 0 depending if they are current staff or not.
i.e.
Name Start Date Leave Date Current Staff Salary
Jo Bloggs 01/01/03 1 15,000
Jo Bloggs 01/01/03 1 16,000
Mo Bloggs 01/01/99 31/12/01 0 22,500
Mo Bloggs 01/01/99 31/12/01 0 25,000
Mo Bloggs 01/01/99 31/12/01 0 27,500
If I do a count or sum on the Current Staff formula it includes the multiple records. Any ideas on how to make this work?
Any help would be much appreciated
CR 9
SQL
Adele
I want to select each person if they are current or not (despite having them appear more than once in the details section). I have been using a formula which allocates 1 or 0 depending if they are current staff or not.
i.e.
Name Start Date Leave Date Current Staff Salary
Jo Bloggs 01/01/03 1 15,000
Jo Bloggs 01/01/03 1 16,000
Mo Bloggs 01/01/99 31/12/01 0 22,500
Mo Bloggs 01/01/99 31/12/01 0 25,000
Mo Bloggs 01/01/99 31/12/01 0 27,500
If I do a count or sum on the Current Staff formula it includes the multiple records. Any ideas on how to make this work?
Any help would be much appreciated
CR 9
SQL
Adele