Solved

Access file with attachment data types - Part 2

Posted on 2013-01-12
3
271 Views
Last Modified: 2013-01-27
Someone had helped me with my original question titled, "Access file with attachment data types" but I now realize I need a little more help.  The individual that helped me supplied a file named "Access-BasicLinkFormReportImages.mdb" which works fine but now I have to somehow make it work with PDF files.  The Access version being used is 2007.

Will it somehow work and what has to be done to change it?

--Steve
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Expert Comment

by:MacroShadow
ID: 38770296
Attached you will find a simple adaption of the simple example.
Access-BasicLinkFormReportImages.mdb
0
 
LVL 40

Expert Comment

by:als315
ID: 38770304
You can't view pdf file in image control, you should use Web browser control (and you need acrobat reader installed). Look at sample
Access-BasicLinkFormReportImages.mdb
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 38770518
Yes, both are adaptations of my basic sample file.

Here is the one I made specifically for PDF's.
You can select "All file Types" from dialog box to select Images, ...etc
...or again, you can modify the code to filter for your specific file types.


Just note that the webbrowser cannot display *All* file types...
As I stated, there is a difference between "Viewing" a file and "opening" it...
Access-BasicLinkFormDisplayPDFWe.mdb
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question