Update Query

E

elli

What's wrong with my query?

UPDATE InventointiPohja INNER JOIN Tiedot ON InventointiPohja.ID = Tiedot.ID
Set Tiedot.[*] = InventointiPohja.[*]
WHERE InventointiPohja.OK=-1;

When I run it , error message says that there must be update query to be
used....

totally confused -elli-
 
R

Rick Brandt

elli said:
What's wrong with my query?

UPDATE InventointiPohja INNER JOIN Tiedot ON InventointiPohja.ID =
Tiedot.ID Set Tiedot.[*] = InventointiPohja.[*]
WHERE InventointiPohja.OK=-1;

When I run it , error message says that there must be update query to
be used....

totally confused -elli-

I don't believe you can use the * in an update query. Try listing all if the
fields individually.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top