How do I re-link .pdf files.

D

dott

We have a db with linked .pdf files on a network. The network has been
reorganized and the path to the files is changed. The relative path is the
same but the actual path is different. We have about 2000 files linked that
we really can't re-link one by one. The links are currently broken because
of the change. Is there a programmatic way to to fix these links - maybe a
way to search and replace?
 
V

Van T. Dinh

This depends on how the original developer "linked" the .PDF files...

1. If you are lucky, the original developer (O.D.) stored the path in a
Field in a Table then you only need to change it to the new path.

2. The O.D. could also store it in the .INI file or store it in the Windows
registry then you will need to modify the .INI file or the Registry.

3. If the full path was hard-coded, you will have to find that part of the
code and modify it. I could be as easy as a Public Constant.

The only problem is to find which of the above options (or something else
similar) that the O.D. used. If you have access to codes in your database,
check the part of code that accesses / displays the .PDF files.
 
Top