Results 1 to 6 of 6
  1. #1
    chuck555 is offline Novice
    Windows XP Access 2000
    Join Date
    Feb 2014
    Posts
    22

    dsiplay multipage pdf in an Access control

    Is there a control with which to view all pages of a pdf?



    The Access unbound object frame control only displays the first page. Did not find a property to allow viewing the other pages.

    Need the pdf to display in a form control (rather than Acrobat) to restrict user access but also for continuity of use.

  2. #2
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    Not sure about earlier versions, it is possible in 2010 using a web browser control. There is an activex web browser control in older versions which may accomplish the above.
    Try Me.WebBrowserControl.Navigate (PathToPDFFile)

  3. #3
    chuck555 is offline Novice
    Windows XP Access 2000
    Join Date
    Feb 2014
    Posts
    22
    Made some progress

    The Controls toolbar, under the "More Tools" option, has the Active X control "Adobe PDF Reader". Created a new form and placed "Adobe PDF Reader" onto the form. In design mode, the pdf icon displays in the center of the control.

    What code is needed to display the pdf file when the form is loaded? (something like "Me.??????.LoadFile Pathway+FileName.pdf" )?

  4. #4
    chuck555 is offline Novice
    Windows XP Access 2000
    Join Date
    Feb 2014
    Posts
    22
    My analog cpu (the brain) had a lockup moment.

    "Me.ControlName.LoadFile Pathway+FileName.pdf

  5. #5
    chuck555 is offline Novice
    Windows XP Access 2000
    Join Date
    Feb 2014
    Posts
    22
    I now have exactly what I need to display pdf files inside a control on an Access form.

    Width and height are runtime only changes and after several combinations, got the right dimensions. Also at runtime, right click on the top of the control, was able to turn off tool bars and functions till only page select and zoom in-out display. With the disabled right mouse key, users can not turn the other control functions back on.

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    This is good info. Thank you for posting your solution.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 10-29-2013, 04:42 PM
  2. Need help with option buttons/checkboxes and multipage tabs
    By themidnitereign in forum Programming
    Replies: 16
    Last Post: 10-10-2012, 11:13 AM
  3. Replies: 3
    Last Post: 03-29-2012, 12:40 PM
  4. How to add multipage after using form wizard?
    By robertrobert905 in forum Access
    Replies: 1
    Last Post: 09-21-2010, 02:37 PM
  5. Tab Control in Access
    By Rosy6 in forum Forms
    Replies: 2
    Last Post: 04-25-2010, 12:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums