Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Images < Not Updateable | Table-Level Validation >
 
Images
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   15 months ago


Back to Images
 

Check if Hyperlink Broken Upload Images   Link  
Bruno Segers 
4 months ago
Hi Richard,

After following the video Hyperlinks I have completely adapted my database and now it contains hundreds of local links. These links are distributed via excel export files. When one of my colleagues changes the folder name or file name, the link no longer works. Whatever makes sense. Now I've been looking for a while if I can occasionally activate a query to check these hyperlinks. And I can't find much about this on the internet. Yet I found one site where they discuss this.

https://stackoverflow.com/questions/68539466/check-hyperlink-fields-on-ms-access-if-broken-without-click-the-links

Unfortunately, the result is always -1 on all checks. The module where everything is written is far too technical for me to find the error. Would it be possible for you to take a look at this? I think many students will find this code also useful.

Mrs. Segers Bruno.
From Belgium
Richard Rost
4 months ago
The method they're using is very inefficient. It involves downloading the file to a local test folder. All you really need to do is a DIR command to see if that file exists. I cover that in Access Developer 31 under File I/O.

It would be something like:

If Dir(MyFileName)="" Then
   MsgBox "File Not Found"
Else
   ' Open File Here
End if


Easy enough?
Bruno Segers
4 months ago
As you say here, yes! ;-)  I downloaded the course and will see how to implement it in a check qwuery. So now and then I can run this is and update the database with an update qwuery.

Bruno.
By the way, Happy new Year! lots of fun this year with all our questions.

This thread is now closed. If you wish to comment, start a NEW discussion, below.
 


Back to Images Comments
 

Start a NEW Conversation
 
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.
 
Subscribe
 

You may want to read these articles from the 599CD News:

5/24/2022Multi-Table Forms
5/23/2022Variables
5/21/2022Access Developer 39
5/21/2022Access Developer 39 Lessons
5/21/2022Access Developer 39
5/21/2022Select Items in Related Table
5/21/2022Clear List Box
5/21/2022Multi Select List Boxes
5/21/2022New Access Beginner 3
5/20/2022Gift Certificates
 

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
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
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn