koolwaters
Active Member
- Joined
- May 16, 2007
- Messages
- 403
Hi!
I have a table that captures financial assistance given to employees in the form of a loan. The table captures the EmployeeID, Department, StartDate, EndDate, Duration, AmountApproved, etc. The amount approved is divided by the number of years and paid at the beginning of each fiscal.
An employee may receive a loan with a start date of 2011/11/23 and an end date of 2015/11/23, which is a four-year loan. If the loan is for $40,000.00, they will receive $10,000.00 each year.
For budgeting, I have to generate a report forecasting the amount of money the department will need in the upcoming fiscal. In this report, I need to see the amount required by the department for each year. So in my report, I have to show each Department and the amount required for each year based on the start and end dates of the loans approved. So if five employees will receive assistance from 2010-2015 and two from 2010-2017, I need to see the total required for each year.
So far, I have created a query, which extracts the Department, Start Date, Duration, Amount Approved and AmountPerAnnum from the table. I have created a crosstab query from that query but the results do not display what I want.
I need to see Department, TotalApplications, SumOfApplications and the Years as Column Headings and the data below.
I hope that I am explicit enough and someone can help me because I have drawn a blank. Any suggestions are appreciated.
Thanks in advance for any help.
I have a table that captures financial assistance given to employees in the form of a loan. The table captures the EmployeeID, Department, StartDate, EndDate, Duration, AmountApproved, etc. The amount approved is divided by the number of years and paid at the beginning of each fiscal.
An employee may receive a loan with a start date of 2011/11/23 and an end date of 2015/11/23, which is a four-year loan. If the loan is for $40,000.00, they will receive $10,000.00 each year.
For budgeting, I have to generate a report forecasting the amount of money the department will need in the upcoming fiscal. In this report, I need to see the amount required by the department for each year. So in my report, I have to show each Department and the amount required for each year based on the start and end dates of the loans approved. So if five employees will receive assistance from 2010-2015 and two from 2010-2017, I need to see the total required for each year.
So far, I have created a query, which extracts the Department, Start Date, Duration, Amount Approved and AmountPerAnnum from the table. I have created a crosstab query from that query but the results do not display what I want.
I need to see Department, TotalApplications, SumOfApplications and the Years as Column Headings and the data below.
I hope that I am explicit enough and someone can help me because I have drawn a blank. Any suggestions are appreciated.
Thanks in advance for any help.