Solved

Access file with attachment data types - Part 2

Posted on 2013-01-12
3
259 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
3 Comments
 
LVL 26

Expert Comment

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

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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now