How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask NewITZone Your Own Question

NewITZone
NewITZone, Computer Enthusiast
Category: Microsoft Office
Satisfied Customers: 90
Experience:  I have been using Office Pro for 10 years and implemented applications for business use.
53509759
Type Your Microsoft Office Question Here...
NewITZone is online now
A new question is answered every 9 seconds

I built a basic data base that has a PDF attachment for

Customer Question

I built a basic data base that has a PDF attachment for every entry. When I view the data as a form I want the attached PDF to preview in the form without clicking anything. I have seen some information on how to do that with files saved on a drive but nothing for files that are already attached.
Can you explain to me how to make the attached file for each record preview without clicking anything in the form?
Submitted: 3 months ago.
Category: Microsoft Office
Expert:  Bruce Wilner replied 3 months ago.

I can't tell you specifics without knowing more about your "basic data base." What DBMS software are you using? Most likely, the interface is designed such that, when a record is pulled up and viewed, a PDF attachment is displayed just as a PDF attachment; the DBMS doesn't have the intelligence to invoke Acrobat and post an independent viewer window.

That having been said, it may be possible to program a trigger such that, when it comes up, Acrobat is invoked. I just can't say without more information on your DBMS software.

Customer: replied 3 months ago.
I am using Access.
Customer: replied 3 months ago.
I have a list of entries and one of the columns is "attachments". I attached a PDF to each of the entries and then created a form. In the form I want the attached PDF to preview.
Expert:  Bruce Wilner replied 3 months ago.

Microsoft Access macros do not allow you to post an independent window and direct I/O to and from it. If it did, you could use the macro mechanism to execute the acrobat viewer by asserting the proper command-line, supplying the indicated data field as an argument, and you would be off to the races. Access, unfortunately, relies upon the standard "shell" mechanisms to post icons associated with file extensions and support double-click semantics upon them. Long and short: you can do many things with macros and triggers, but cause Acrobat Reader to post in an independent window is not one of them.

Expert:  Bruce Wilner replied 3 months ago.

Is it so painful--is it such a usability nightmare--to have to click or double-click on something?

Customer: replied 3 months ago.
no, but thanks.
Expert:  Bruce Wilner replied 3 months ago.

What you could do is write some code that reads the PDF file and keeps the first few lines (like a "profile" of the document) in a separate field. That way, you could--on the same Access form--display the "profile" of the document and allow the user to investigate further by double-clicking the PDF icon. That would kill two birds with one stone.

Customer: replied 3 months ago.
Can you send me an image of what a "profile" of the document would look like?
Expert:  Bruce Wilner replied 3 months ago.

By a "profile," I simply mean the first N characters of the file, just like, in a Google listing, you get several words of context surrounding your search terms. My notion of a "profile" is just the introductory text of the PDF file, without any formatting, just text.

Customer: replied 3 months ago.
okay, thanks... I'll just double click.
Expert:  Bruce Wilner replied 3 months ago.

I have to post this so I wont constantly get prompted to reply. PLEASE DO NOT RESPOND. Thank you.