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 
Merge Two Databases
Brian Borden 
    
6 years ago
Good morning Richard, Question for you.  I'm trying to figure how to merge two copies of a database.  I know this would involve use of a UNION query, but I need to be able to merge data from database B into database A with the caveat that I need to ensure two fields in selected records in database A are not overwritten by the data in database B.  Those fields in certain records in database B will not have any data in them, but those fields in the rest of the records in database B may have updated data that needs to be copied into database A.

Maybe I could do an export to Excel of both databases, then merge the fields in Excel.  This would overwrite the data from database B onto database A, except those fields in database B would be blank so they wouldn't overwrite anything in database A.  Then import the updated Excel data back into database A.

Thoughts?
Regards,
Brian
Richard Rost  @Reply  
           
6 years ago
A union query is something that you would usually use to display data from two working tables in your database. This sounds more to me like you want to use an append query and add the data from database B into database A. You could use indexes with the no duplicates option to make sure you don't overwrite something. But without knowing more about the structure of your tables and exactly what you're trying to do it's hard for me to give you any better advice. You could use Excel if your data needs a lot of massaging by hand. I've been known to do that once or twice.

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: 7/29/2026 8:31:11 PM. PLT: 0s