Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
compare tables in two database
Harold Laski 
    
4 years ago
I have a database and an older copy of the date.  After a period of time and changes to the newer database the newer one has errors. I would like to compare tables in both databases to see what has been changed. Is there an easy way to do this. I am not interested in comparing the data in each database but the fields.
Harold Laski OP  @Reply  
    
4 years ago
Sorry. The first line should read " I have a database and an older copy of the database."
Kevin Yip  @Reply  
     
4 years ago
If you mean comparing field specs and properties, then each field has tons of specs: name, data type, data size, rich text or not, allow zero length or not, default value, validation rule, etc.  If you are to check for all the differences between two tables, it is not an simple job.  And you have to program everything yourself in VBA because there is no built-in tool for that.  The FMSINC website sells a compare tool for $300+ but I don't know if it's worth it for something you would likely only use once.
Harold Laski OP  @Reply  
    
4 years ago
I just had an idea. See what you think. Suppose I  first backed up everything and then copied all the tables from one into the other. THis would give me tables such as CustomerT and CustomerT1, ProductT and ProductT1.  WOuld it then be easier to then compare once they are in the same database?
Richard Rost  @Reply  
          
4 years ago
If you're talking about comparing the DATA, then you can just LINK the old database tables into your new database. No need to import them and create a second copy. But yes, then it will be easier to do a side-by-side comparison to see what data has changed.

Kevin is talking about comparing the STRUCTURE of the tables themselves (fields, properties, etc.) So... which one do you mean?
Kevin Yip  @Reply  
     
4 years ago
Hi Harold, unless you can check for differences with your own eyes, you are going to need VBA.  The VBA code would be of the same complexity no matter where the tables are.  I've never done this kind of thing.  Naturally it's better to avoid having to do this.  But I imagine sometimes you need to restore a backup up copy to fix problems in the current copy.

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: 5/6/2026 4:06:17 PM. PLT: 1s