Update table in access by joining a table from sql server -
i using access , sql server combined. main tables housed in sql server, , temp tables created in access. trying update temp table in access joining table sql server. keep getting error, operation must use updateable query. here query below. appreciated.
update [tmpediterrcode220 - 2] inner join dbo_indicator_0 on ([tmpediterrcode220 - 2].cpt_code_allow = dbo_indicator_0.cpt_code_allow) , ([tmpediterrcode220 - 2].cpt_code_omit = dbo_indicator_0.cpt_code_omit) set [tmpediterrcode220 - 2].flag = on ((([tmpediterrcode220 - 2].flag)=off));
try this
update dbo_indicator_0 inner join [tmpediterrcode220 - 2] on ([dbo_indicator_0].cpt_code_omit = [tmpediterrcode220 - 2].cpt_code_omit) , ([dbo_indicator_0].cpt_code_allow = [tmpediterrcode220 - 2].cpt_code_allow) set [tmpediterrcode220 - 2].flag = "on" ((([tmpediterrcode220 - 2].flag)="off"));
Comments
Post a Comment