I have a db that includes (among others) the following fields: Separation Year; Hire Year; Promotion Year.
I need to create a query from which I can then create a report that will give me the separations, hires and promotions by year.
I also need the report to generate the total number of employees for the various years, so that, for example, if the total number of employees for 1980 was 5000 (which is a fixed starting figure)the query or report would generate a line for 1981 which would give the total number of separations, hires and promotions for 1981. It would also take the total employee number for 1980 (i.e. 5000) add the number of 1981 hires and subtract the number of 1981 separations.
The end result I need would be something like:
Year Total Hires Separations Promotions
1980 5000 50 10 5
1981 5020 30 10 5
(in this example the query or report generates that there were 30 hires, 10 separations and 5 promotions in 1981. It then takes the total from 1980 adds the 1981 hires and subtracts the 1981 separations giving a 1981 total of 5020.
The row for 1982 would generate the number of hires, separations and promotions, then take the total from 1981 and subtact the separations for 1982 and add the hires for 1982 thus giving the total for 1982.
Can anyone please help me with this problem?
Thanks!
McLigs
I need to create a query from which I can then create a report that will give me the separations, hires and promotions by year.
I also need the report to generate the total number of employees for the various years, so that, for example, if the total number of employees for 1980 was 5000 (which is a fixed starting figure)the query or report would generate a line for 1981 which would give the total number of separations, hires and promotions for 1981. It would also take the total employee number for 1980 (i.e. 5000) add the number of 1981 hires and subtract the number of 1981 separations.
The end result I need would be something like:
Year Total Hires Separations Promotions
1980 5000 50 10 5
1981 5020 30 10 5
(in this example the query or report generates that there were 30 hires, 10 separations and 5 promotions in 1981. It then takes the total from 1980 adds the 1981 hires and subtracts the 1981 separations giving a 1981 total of 5020.
The row for 1982 would generate the number of hires, separations and promotions, then take the total from 1981 and subtact the separations for 1982 and add the hires for 1982 thus giving the total for 1982.
Can anyone please help me with this problem?
Thanks!
McLigs