Solved

Trying to Update a Table in MS Access 2003

Posted on 2011-02-17
4
235 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
  • 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

838 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