A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Organising External Flies



 
 
Thread Tools Display Modes
  #1  
Old January 30th, 2010, 04:58 AM posted to microsoft.public.access.tablesdbdesign
TAMitch
external usenet poster
 
Posts: 1
Default Organising External Flies

Hi,
I have a large number of related PDF documents that are currently
hyperlinked as a means of access and searching. I would like to develop a
access database that can organise these file, but more importantly open them
from an access control.
Therefore I need a way of opening pdf documents from within the database.
Thanks
  #2  
Old January 30th, 2010, 05:30 AM posted to microsoft.public.access.tablesdbdesign
Allen Browne
external usenet poster
 
Posts: 11,706
Default Organising External Flies

FollowHyperlink will open them in the program registered with Windows for
handling PDF files.

Example:
strFile = "C:\MyFolder\MyFile.PDF"
strFile = strFile & "#file:///" & Replace(strFile, "\", "/") & "#"
DoCmd.FollowHyperlink strFile

If your file names could contains strange characters such as #, see:
http://allenbrowne.com/func-GoHyperlink.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"TAMitch" wrote in message
...
Hi,
I have a large number of related PDF documents that are currently
hyperlinked as a means of access and searching. I would like to develop a
access database that can organise these file, but more importantly open
them
from an access control.
Therefore I need a way of opening pdf documents from within the database.
Thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:20 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.