I am attempting to fill a column labeled type_match depending on the content of two columns 2018_status and 2019_status in the status_report table.
All three columns are short text. I keep getting a 'syntax error'.
UPDATE status_report AS per
SET per.type_match =
Switch(
per.2018_status = 'No application found', 'No application for 2018',
per.2019_status = 'No application found', 'NA',
per.2018_status = per.2019_status, 'Yes',
True, 'No'
)
The documentation seems pretty straightforward and believe it's an MS Access issue where they tend to be very picky.
Trueis totally valid.