Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Update Query
Glenn Kraniske 
    
4 years ago
Hello All,
I have an issue (lack of education) and was wondering if someone could help.  I have a database called "Fishing Rods" and it has the fields you'd expect.  Make, Model, Serial Number, etc.  But one of the fields is a text field called "Owner."  In this field is several names, mostly redundant data... the same names over and over again.  

So after watching one of Richard's tutorials, "Microsoft Access Update Query: Values from Another Table to Normalize a Field. Plus add World Flags!"  I was successfully able to add a countryID field and store the ID's in the main table.  So instead of having "US" listed thousands of times, I'm storing the CountryID from the Country table.

I'm trying to do the same thing with the "People" table.  Here's what I've done so far;
I've added a "PeopleID" number field to the "Fishing Rods" table.  I've also created a new table called "People" with an "ID" autonumber field, and "Last Name", "First Name", and Middle Initial" text fields.  So what I'm trying to accomplish is keeping the people in the people table and store the ID number in the "PeopleID" field in the Fishing Rods table.  I'm not sure how this query should look, or what relationship to create since I'd be going from one field to multiple fields.

Any help would be appreciated and please ask any questions for clarity.  Thank you all and have a wonderful day.
Adam Schwanz  @Reply  
           
4 years ago
What is "several" names? Are we talking 3 or 4 or like 20+? May be able to use dlookup to get the value if the names are the same or a recordset may be easier.
Richard Rost  @Reply  
          
4 years ago
So does each reel have ONE owner, or multiple owners?
Glenn Kraniske OP  @Reply  
    
4 years ago
Only onw owner, and I have approximately 50+ records.
Richard Rost  @Reply  
          
4 years ago
Then it should work just the same way you did the countries. Your person table would have FirstName, LastName and a PersonID. Honestly, if you're only dealing with 50 records, I would just manually enter the names and assign the IDs by hand. It's not worth creating an update query over. If you wanted to automate it (say you had 5000 records) then you'd need to separate the first and last names, which can be tricky.
Glenn Kraniske OP  @Reply  
    
4 years ago
I got that, I can do some manual data entry this early in the database but it's going to get much larger.  How do I store the ID in the main table rather than the entire name?
Adam Schwanz  @Reply  
           
4 years ago
50+ people or just 50 records? If it's only 50 records with a few people I would probably just manually do it LOL. Sort the table by name and put the numbers in quickly.

Otherwise you could concatenate First/MI/Last Name together from your new fields and find matching old fields if the names are the same.
Richard Rost  @Reply  
          
4 years ago
Glenn Kraniske OP  @Reply  
    
4 years ago
I'll do that.  Thanks a bunch!
Richard Rost  @Reply  
          
4 years ago
You're welcome. That's what we're here for.
Richard Rost  @Reply  
          
4 years ago
Oh, and I just added the new Access Beginner 2 to your account (free). You may need to log off and back on again if it tells you to purchase it.
Glenn Kraniske OP  @Reply  
    
4 years ago
Got it, thanks Richard!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 8/8/2026 2:32:21 PM. PLT: 1s