I'm trying to run a query that will update a field in one table if a field in another table is equal to test. Here is the code:
UPDATE Table1 AS t1 INNER JOIN Table2 AS t2
ON t1.Field1 = t2.F_Name
SET t1.Field4 =
(CASE
WHEN t2.PlayField = 'test' THEN 'test'
ELSE 'No test'
END);
However, I always receive a Syntax Error (missing operator) when I run it. Not sure what I'm doing wrong...
CASE ... WHENis not supported in Access SQL.