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 SQL Server Lessons    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Unable to Delete Tables
Teeka Leone 
     
4 years ago
Hello.  Following the SQL Server seminar... I published my customer table to the SQL server DB using the ODBC file connection. Next step was to delete the customer table in Access and then link to the one published to the SQL server.  However, Access won't allow me to delete the table due to all of the relationships.  What now?
Scott Axton  @Reply  
        
4 years ago
This is one of the reasons that Richard doesn't go into great lengths of using the Relationships tool.
( Database Tools -> Relationships  on the menu ribbon)

You will need to go to that window and click on each of the link lines then press delete to get rid of the Relationship in Access. Once you do that, "un-linking" the tables, you will be able to remove them.

If you set up your database properly, following along with Richards teaching, you handle the relationships programmatically not through the database.
Teeka Leone OP  @Reply  
     
4 years ago
Thanks Scott,  I am familiar with where and how to delete relationships.  Just not how to put them back using the method you describe.   Do you know what classes the handling of relationships programmatically is in?  I haven't see that in any classes I've taken so far.  Thanks in advance!
Scott Axton  @Reply  
        
4 years ago
That is what the ID in every table is for.  The relationship window is just used as a graphical representation.
As you have discovered SQL Server not only doesn't use it but doesn't support it.  There isn't a substitution that I know of.
Richard Rost  @Reply  
           
4 years ago
You need to delete the GLOBAL relationships in your database, however this shouldn't break your queries that use AD-HOC relationships unless you've set up referential integrity with cascade updates and deletes. If you don't know what that means, then don't worry about it, but I covered this stuff in a class you already have: Access Expert 2, lesson 2.
Richard Rost  @Reply  
           
4 years ago
There's a reason why I don't generally use global relationships in my databases. They're a pain in the behind. I think I talk about that in the lesson too. The ONLY two reasons you'd really need them are for preventing orphans (order details without a parent order) and for cascade deletes (deleting all the details when you delete an order). BOTH can be done with VBA programmatically, which is what I prefer.

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

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: 6/16/2026 12:25:58 PM. PLT: 1s