Solved

Trying to Update a Table in MS Access 2003

Posted on 2011-02-17
4
237 Views
Last Modified: 2012-05-11
I am trying to update a table using data from another table and I keep getting the following error "Operation must use a an updateable query" don't see what is wrong with what I am doing.

UPDATE [Final] SET [Final].[Mix] = (SELECT [Fix].[Mod]
from  [Fix]
where [Fix].[code] = [Final].[code] AND  [Fix].[Account] = [Final].[Account] AND [Fix].Name = [Final].[Name])

Open in new window

0
Comment
Question by:asarda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 24

Expert Comment

by:fridom
ID: 34916928
How many values does:
(SELECT [Fix].[Mod]
from  [Fix]
where [Fix].
 = [Final].[code] AND  [Fix].[Account] = [Final].[Account] AND [Fix].Name = [Final].[Name])

Open in new window


return?

0
 

Author Comment

by:asarda
ID: 34916941
Returns around 20 values, it will vary everytime
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 34917159
try this

Update [Final]
Inner join [Fix] On
Fix].[code] = [Final].[code] AND  [Fix].[Account] = [Final].[Account] AND [Fix].Name = [Final].[Name]
set [Final].[Mix]=[Fix].[Mod]

Open in new window

0
 

Author Comment

by:asarda
ID: 34917311
That worked. Thanks
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question