In a small PC project we are using MS Access 2002.
I have an Access table that is partially incorrect in a certain field values.
I'm trying to UPDATE it, using corrected values from a different but similar table.

Found in the Archives the following thread, and changed it to fit my needs.

UPDATE Table1 AS t1
SET Vendido = (Select Vendido
from Table2 t2
Where t1.ID = t2.ID)
WHERE EXISTS (Select 1
from Table2 t2
Where t1.ID = t2.ID);

When I try to execute, Access gives me an error "La operacion debe usar una consulta actualizable" (translate from Spanish, so may not be the exact english words, but... "Operation must use an updatable query"... ) where Help is of no joy...

Does anybody know if Access 2002 supports this kind of <Update a table from another table> using EXISTS as suggested for a different case in the Archives?

Thanks,


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.