J
Jarek
I'm trying to update a field in myTable1 with a value from myTable2 with a
statement like that:
Update myTable1 Set myTable1.myField=(select myTable2.myField from myTable2
Where myTable2.Table1Id=myTable1.Id) Where ...
But Access doesn't allow it. I get a message that the operation has to use
an updatable subquery (I don't have the English version of Access, so I only
can translate the error message rather than quoting it)
This error only happens if I use a subquery. If I change the subquery in the
above example to a simple number e.g. 100, then the statement will be
executed properly.
statement like that:
Update myTable1 Set myTable1.myField=(select myTable2.myField from myTable2
Where myTable2.Table1Id=myTable1.Id) Where ...
But Access doesn't allow it. I get a message that the operation has to use
an updatable subquery (I don't have the English version of Access, so I only
can translate the error message rather than quoting it)
This error only happens if I use a subquery. If I change the subquery in the
above example to a simple number e.g. 100, then the statement will be
executed properly.