Loading Documents(PDF, Word etc.) in forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to create a feature, where a user can easily click on a button
and browse a file he/she would like to attach a file that is associated with
a unique record. How would I go about doing that? Hyperlinking is not an
option, I'm trying to make it user friendly and let the user click on a
button that says "browse files to attache" etc.
 
Hyperlinks can work fine for this application.

Use a standard open/save api to allow the user to select a file (for this
look at http://www.mvps.org/access/api/api0001.htm ) then store the full path
and filename in your table. Then you can simply use the
Application.FollowHyperlink "FullPathandFileName" to enable your user to open
the files when they double-click on them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top