Computer Learning Zone CLZ Access Excel Word Windows

If a cluttered desk is a sign of a cluttered mind, of what, then, is an empty desk a sign?

-Albert Einstein
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Debug
Mark Fulton 

3 years ago
Hi.
Client deleted the folder where the backend data is stored and obviously that produces the error / debug notice.
I want to write code to cancel the debug and return a message box.
How can I best do this?
Scott Axton  @Reply  
        
3 years ago

Relink Tables shows you how to look for the back end.  If it isn't there prompt them for the new location.

The bigger issue is education.  Make sure that your data isn't accessible by people that don't know what they are doing.  If "they" deleted your back end you have much bigger problems than producing an error...  You just lost all of your data!
Have a good back up plan in place and have backups in multiple locations.  Local, off site, etc.  Files can and do get corrupted unintentionally from time to time.
Richard Rost  @Reply  
          
3 years ago
That's one of the major problems with Access... in a network setting in order to USE the database, people have to have read/write access to the folder the back-end data files are in. Nothing prevents them from hitting that old Delete button. You can try hiding that folder, but it's still not 100%. SQL Server is the only 100% way to protect your data.
Richard Rost  @Reply  
          
3 years ago
As far as giving them a friendly error message when this happens, the best thing you can do is to check for a value in a table in one of your back-end files and if you can't read it, give them a message that they need to relink.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor 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/7/2026 7:05:51 AM. PLT: 1s