Indigobuni
Registered User.
- Local time
- Today, 11:33
- Joined
- Oct 9, 2001
- Messages
- 26
I've built a simple db for tracking employee's PTO (paid time off). I'm experiencing an error with a field I want to add to the form, and can't resolve it. Sad, because I don't think it's a complicated fix, but the solution evades me.
Two tables
1 - Employees (name, hire date, Total Annual PTO)
2 - Empl Days Off Data (Date off, hours used, reason)
The two have a one-to-many relationship via ID (Employees) and Employee ID (Empl Days Off Data)
Two queries
1 - Total PTO hours used by employee (Name, Total Annual PTO, sum of hours used for each employee - based off the Empl Days Off Data)
2 - PTO Remaining (Name, Total Annual, Sum of hours, PTO Remaining)
Query 2 is based off query 1
One form with a subform
Subform lets me enter the data for each employee. The form shows name, hire date, Total Annual.
What I want is to show the PTO Remaining on the form as well. I've attached the db with limited data in case someone wants to see. Thanks for any help.
Two tables
1 - Employees (name, hire date, Total Annual PTO)
2 - Empl Days Off Data (Date off, hours used, reason)
The two have a one-to-many relationship via ID (Employees) and Employee ID (Empl Days Off Data)
Two queries
1 - Total PTO hours used by employee (Name, Total Annual PTO, sum of hours used for each employee - based off the Empl Days Off Data)
2 - PTO Remaining (Name, Total Annual, Sum of hours, PTO Remaining)
Query 2 is based off query 1
One form with a subform
Subform lets me enter the data for each employee. The form shows name, hire date, Total Annual.
What I want is to show the PTO Remaining on the form as well. I've attached the db with limited data in case someone wants to see. Thanks for any help.