Solved

Trying to Update a Table in MS Access 2003

Posted on 2011-02-17
4
232 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
Comment Utility
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
Comment Utility
Returns around 20 values, it will vary everytime
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
Comment Utility
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
Comment Utility
That worked. Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now