Jump to content
Server Maintenance This Week. ×

Calculate totals from previous years


This topic is 4260 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have an employee table with an employee leave child table which contains a date field and an hours taken field. My employee table contains a field that determines the allotted hours allowed to be taken each year. I am currently calculating the total time taken for the current year and displaying the remaining balance left for the year. What I'm trying to calculate is the balance of time not taken for all previous years. I'm just not sure how to how to arrive at the time not taken totals for each year.

Thank you in advance for any help.

Tony

11 Advanced Mac/PC

Employee Leave.fp7.zip

Link to comment
Share on other sites

it seems that the number of hours allowed per year is specific to an employee - but doesn't it ever change from year to year?

Note also that your file doesn't tell us in which years an employee was employed; if John Doe doesn't have any leaves in 2009, it could be because he didn't take any (and in such case he has a balance of 40 hours), or because he started working in 2010 only.

Link to comment
Share on other sites

This topic is 4260 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.