Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / May 2008

Tip: Looking for answers? Try searching our database.

Help!!  how to attach pdf to access record

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scanner - 21 May 2008 20:32 GMT
Please tell me how you can attach a pdf to an Access record.  We have a large
database of clients in our Access database.  We also have paper files for
them that must be scanned and attached somehow with their database
record/info in Access.  How is this done?  We are a non profit charity and we
must keep detailed records of our clients info in order to get grants.  Thank
you for your help!  Nancy
Mike Revis - 22 May 2008 00:55 GMT
Nancy,
see access help for "shell"
I'm pretty sure there are other methods that will work but the following
works in my application.
You should have all of the documents in one folder on the server and
reference to them. You don't want the documents to actually be in your
application.
You just want to reference their location so Access can find them.
You will have to change the file path to your actual file path.
In the following you will have to change [MsdsNumber] to the name of the
field where you have the file name stored.

Private Sub cmdMSDS_Click()
'Open the Tech Sheet file.

Dim stAppName As String
Dim FilePath As String
Const cstrPath As String = "\\Paul\MSDS\"

FilePath = cstrPath & [MsdsNumber] & ".pdf"

stAppName = "C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe " &
FilePath

Call Shell(stAppName, 1)

End Sub

> Please tell me how you can attach a pdf to an Access record.  We have a
> large
[quoted text clipped - 5 lines]
> Thank
> you for your help!  Nancy
Nick - 22 May 2008 17:34 GMT
You can just use a Hyperlink field in a table, put this in text box on a form
and some code that uses Application.FollowHyperlink.

Signature

Nick

> Please tell me how you can attach a pdf to an Access record.  We have a large
> database of clients in our Access database.  We also have paper files for
> them that must be scanned and attached somehow with their database
> record/info in Access.  How is this done?  We are a non profit charity and we
> must keep detailed records of our clients info in order to get grants.  Thank
> you for your help!  Nancy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.