?
Solved

Updating a master file in Access

Posted on 2012-03-28
2
Medium Priority
?
252 Views
Last Modified: 2012-03-28
I have a table with a list of employee records, each identified by a unique id, and there are 9 other fields on the table.  There are around 25,000 records.  I have to maintain this master table as updates to the records are submitted to me.  The structure of the update tables is the same as the master table and between 1 and 9 of the non employee id fields may have changed.  Is there a query that can be run to elegantly update the master table?  Please see attached for a sample of the master table and update table.
EE-update-master-file.mdb
0
Comment
Question by:GIStewart
[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 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 1400 total points
ID: 37777235
If you are always going to get all fields then just update all fields.

Update Master as M Inner join  [Update] as U on
M.Employee_id = U.Employee_id
Set M.flda=u.flda, m.fldb= u.fldb, M.fldc=u.fldc, m.fldd= u.fldd,M.flde=u.flde, m.fldf= u.fldf,
M.fldg=u.fldg, m.fldh= u.fldh,M.fldi=u.fldi, m.fldj= u.fldj
0
 

Author Comment

by:GIStewart
ID: 37778008
thank you
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

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