I have an update query that keeps erroring out; can anyone spot the syntax error; I can't!
UPDATE b SET b.[type] = a.[type], b.variety = a.variety FROM [lotsDB] AS a INNER JOIN [processed] AS b ON (b.[lotID] = a.[ID])
The vague error:
Syntax error (missing operator) in query expression 'a.variety FROM [lotsDB] AS a INNER JOIN [processed] AS b ON (b.[lotID] = a.[ID])'.
I can tell you this; everything in the processed table has a parent in the lotsdb table. the join on lotID to ID are same value types.
I should add, that I'm running this query against a access.mdb databse via adodb in excel. I'm usually pretty good at this stuff and right queries all the time, but this one has stumped me.