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 
Linked Images
Jorge Restrepo 
     
3 years ago
Hello.  Have a simple database with linked photos in a personal PC.  Occasionally I would like to move the database to another PC but links are no longer good.  Is it possible to locate the database and a directory with images in the same parent directory, so one can move the parent directory that contains both the database and the images to another PC, and maintain the link to the images? Or any other solution to this problem?
Kevin Robertson  @Reply  
          
3 years ago
Kevin Yip  @Reply  
     
3 years ago
Store subfolder paths in your table, and store the top-level path on a separate table.  When you move the database and/or the pictures, you only need to change the top-level path.  This is how this kind of thing is usually done.  For instance:

Store your top-level path of your pics in a separate table:

    C:\My Pictures

In your picture table, you store all your picture links as subfolder paths that look like this:

    images\pic1.jpg
    images\pic2.jpg
    images\pic3.jpg
    images\pic4.jpg
    images\pic5.jpg
    Etc.

When you move your database and/or pictures, you only need to change C:\My Pictures to whatever the new parent folder is, and don't have change anything in your picture table, as long as all the pics are stored inside the "images" subfolder.

The full path can be recreated with a simple string concatenation:   TopLevelPath & "\" & SubfolderPath
Jorge Restrepo OP  @Reply  
     
3 years ago
Thanks Kevin.  Still a bit complicated.  I have seen other software, such as some CAD programs, where you keep all the files under one folder and you can move that folder within the same computer, or move to another computer, and the links are maintained, which makes it very practical. No need to worry about the Top Level Path.
Kevin Yip  @Reply  
     
3 years ago
It's not complicated to make a table with just one field, one row, and store the top-level path in it, and update it accordingly.  You can ask the makers of those CAD programs how they do it.  If they can magically read your mind about where you store your files, their method is undoubtedly a lot more complicated than mine.  Most programs store file paths via INI files, Windows registry, environmental variables, user settings (like web browsers that let users specify download folder path), things of that nature.  And that is basically the same method as what I suggested.

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/7/2026 6:14:43 AM. PLT: 0s