|
How are you actually trying to execute the query, i.e. run the SQL ?access
Your best bet might be to use access itself. Start Access, Select Design a
query, select the SQL mode(top left corner) and dump in your SQL to the
editor window. Try and fix the errors you get from there. I've found
to be somewhat helpful when trying to do this kind of stuff. You can goback
and forth between the design mode and the SQL mode if it helps you getthe
right answer.That's exactly the way I'm doing
There is an option to make the query an update query - it's an icon on theWhen the SQL sentence is fully writen, and *before* executing it (by
tool bar but the picture escapes (maybe a pen or something) - you may need
to click that icon.
What version of query is the database you are trying to update ? Is Accessmost
trying to save you from yourself and preventing untrusted operations (a
infuriating feature) ?FWIW, WinXP Prof + SP3, MS Office (Access, ...) 2002 + SP3
This thread seems not to have received any answer...needs.
Let me try it again.
FWIW, using WinXP + SP3, MS Office XP (2002) + SP3:
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
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...
Of course, I'm logged as System Administrator, all rights, dedicated
system...
Am I missing something?
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?
As an Amazon Associate we earn from qualifying purchases.
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.