update in access 2007

drstein

Registered User.
Local time
Yesterday, 20:17
Joined
Mar 23, 2009
Messages
28
I would like to know what the sql is in access 2007 to update 5 columns in one table that is joined to a second table.
 
Code:
UPDATE Table1 
INNER JOIN Table2 
ON Table1.KeyField = Table2.KeyField
SET 
    Table1.Field1 = 'a', 
    Table1.Field2 = 'b',
    Table1.Field3 = 'c',
    Table1.Field4 = 'd',
    Table1.Field5 = 'e'
;
 

Users who are viewing this thread

Back
Top Bottom