P
Phil
Access 2003
I have two tables which are related by a simple join. The second table
contains default values for one of the fields in the first table. I am
trying to produce an UPDATE query to set the first table back to the
defaults.
Here is what I have tried but I get an error message saying 'Operation must
use an updateable query'.
UPDATE Table1
SET Table1.Field1 =
(SELECT
Table2.DefaultField1Value
FROM
Table2
WHERE
Table2.ID=Table1.Table2_ID)
Any suggestions greatly appreciated
Thanks
Phil.
I have two tables which are related by a simple join. The second table
contains default values for one of the fields in the first table. I am
trying to produce an UPDATE query to set the first table back to the
defaults.
Here is what I have tried but I get an error message saying 'Operation must
use an updateable query'.
UPDATE Table1
SET Table1.Field1 =
(SELECT
Table2.DefaultField1Value
FROM
Table2
WHERE
Table2.ID=Table1.Table2_ID)
Any suggestions greatly appreciated
Thanks
Phil.