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 
Import Excel Sheets to Multiple Tables
Glen Taylor 
     
9 days ago
I am creating a new database that have multiple tables I want to import different excel sheets of information to multiple tables within the database example masterpart table , customertable related to master parttable, customertable is related to customerstoretable.

In summary I supply a part customer assigns their master part number and each store assigns their own internal part number.

Any ideas.
I have created the tables I need to know the best way to put info from the excel sheets into the tables, each sheet contains info that belongs in different tables
Richard Rost  @Reply  
          
7 days ago
Alex pointed you to some good lessons. The basic approach is to import each Excel worksheet into its own temporary staging table first. Don't import directly into your production tables until you have verified the data and relationships.

For example, import the Master Parts sheet into something like ImportMasterPartT, the Customers sheet into ImportCustomerT, and the Stores sheet into ImportCustomerStoreT. Then use append queries to move the cleaned data into MasterPartT, CustomerT, and CustomerStoreT in the proper order.

Import the parent records first, such as MasterPartT and CustomerT, so Access can assign their AutoNumber primary keys. Then append the related records to CustomerStoreT, using queries to look up the correct MasterPartID and CustomerID from the values imported from Excel.

The important part is that Excel should contain some stable matching values, such as your part number, the customer's part number, and a customer or store code. Don't try to import AutoNumber IDs from Excel unless those IDs are already part of an established system.

Once you get it working manually, you can save the import specifications and append queries, then automate the whole process with a button on a form.
Add a Reply Upload an Image
Next Unseen

 
 
What's This?

 

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: 9/20/2026 5:11:12 PM. PLT: 1s