A
AngiW
Ok...I've been working on this for 2 days...can't figure it out. Any
suggestions would be helpful! I have two tables...Employees and Accruals.
Primary keys are EmployeeID for employee table and PageID for accrual table.
Using employeeID as the common key to accrual table. Ok...my relationship is
one to many. I've also done a junction table, but that didn't work either, so
now i'm back to this.
Here's my query:
UPDATE [Employee Main] INNER JOIN [Accrual Main] ON [Employee Main].[Employee
ID] = [Accrual Main].employeeID SET [Accrual Main].SickAvail = 5
WHERE ((([Employee Main]![Status])="Full time"));
The funny thing is...it will update 98 records, which is right, but it doesn't
"attach" those records with the employees. I see where the problem is...there
aren't any records in Accrual main until it updates so the employeeID's are
never equal. But how do i fix that? It's driving me crazy thinking it's
something simple!
THANKS!!!!
suggestions would be helpful! I have two tables...Employees and Accruals.
Primary keys are EmployeeID for employee table and PageID for accrual table.
Using employeeID as the common key to accrual table. Ok...my relationship is
one to many. I've also done a junction table, but that didn't work either, so
now i'm back to this.
Here's my query:
UPDATE [Employee Main] INNER JOIN [Accrual Main] ON [Employee Main].[Employee
ID] = [Accrual Main].employeeID SET [Accrual Main].SickAvail = 5
WHERE ((([Employee Main]![Status])="Full time"));
The funny thing is...it will update 98 records, which is right, but it doesn't
"attach" those records with the employees. I see where the problem is...there
aren't any records in Accrual main until it updates so the employeeID's are
never equal. But how do i fix that? It's driving me crazy thinking it's
something simple!
THANKS!!!!