Tarebare30
New member
- Local time
- Today, 11:26
- Joined
- Apr 26, 2013
- Messages
- 2
Hi
I'm trying to update field TT_Zone from table Allocations with the values in field TT_Zone from table AllZones. I have written this query:
UPDATE Allocations
SET Allocations.TT_Zone = AllZones.TT_Zone
FROM Allocations
INNER JOIN AllZones
ON Allocations.Building_Name = AllZones.Building_Name
WHERE Allocations.Building_Name = AllZones.Building_Name;
but when I run, I get a 'Sytax error (missing operator) in query expression' message.
I'm very new to this, so I'm sure it's something stupid but hoping someone can help? I've looked at lots of examples online and can't see where I'm going wrong.
Thanks in advance.
I'm trying to update field TT_Zone from table Allocations with the values in field TT_Zone from table AllZones. I have written this query:
UPDATE Allocations
SET Allocations.TT_Zone = AllZones.TT_Zone
FROM Allocations
INNER JOIN AllZones
ON Allocations.Building_Name = AllZones.Building_Name
WHERE Allocations.Building_Name = AllZones.Building_Name;
but when I run, I get a 'Sytax error (missing operator) in query expression' message.
I'm very new to this, so I'm sure it's something stupid but hoping someone can help? I've looked at lots of examples online and can't see where I'm going wrong.
Thanks in advance.