Why can't I update two fields at once?

A

AngiW

Why won't the AnnUpdate update to yes when I run this query?? In fact, it says
it's going to update and then does nothing. If I take that part out, it does
fine. BTW, it's a yes/no field. Thanks!

UPDATE Positions INNER JOIN ([Employee Main] INNER JOIN [Accrual Main] ON
[Employee Main].[Employee ID] = [Accrual Main].employeeID) ON
Positions.Position = [Employee Main].Position SET [Accrual Main].VacAvail = 120
AND [Accrual Main].AnnUpdate = Yes
WHERE blah blah blah
 
S

Steve Schapel

Angi,

On the basis of the limited information you have given, I don't know
whether this is the only problem, but you have a AND instead of a , in
the SET clause of your query. Try...
SET [Accrual Main].VacAvail = 120, [Accrual Main].AnnUpdate = Yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top