I have a problem with access to UPDATE based on JOIN.
There are 2 instructions that I need to combine:
SELECT a.f1, a.f2, a.f3 FROM tableA a, viewB b WHERE a.f2 = b.f2 AND a.f3 = b.f3
viewB is a request but works fine
UPDATE tableA a SET a.f1 = 'x'
works great.
Now I am trying:
UPDATE tableA a, viewB b SET a.f1 = 'x' WHERE a.f2 = b.f2 AND a.f3 = b.f3
Failed, Access says:
The operation must use an updated query.
This is stupid because there is no field in sight. I tried several other solutions using FROM, JOIN Subselect, but did not find a solution.
Does anyone know a smart solution?
source share