Hi, I'm attempting to run a simple SQL statement where I am updating fields from selection
SELECT Field
FROM Table
WHERE Table.Field = VAR
UPDATE (SELECT Field
FROM Table
WHERE Table.Field = VAR) TEMP
SET TEMP.Field = NEW_VAR;
The intention is to display the selection as a report and then update the fields. I've used this code thru Oracle but am a bit perplexed with the syntax error in Access? Can anybody suggest where I have made the error, or suggest a way to achieve the report and update?
SELECT Field
FROM Table
WHERE Table.Field = VAR
UPDATE (SELECT Field
FROM Table
WHERE Table.Field = VAR) TEMP
SET TEMP.Field = NEW_VAR;
The intention is to display the selection as a report and then update the fields. I've used this code thru Oracle but am a bit perplexed with the syntax error in Access? Can anybody suggest where I have made the error, or suggest a way to achieve the report and update?