Results 1 to 4 of 4
  1. #1
    Oblio is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2013
    Posts
    50

    Is it possible/adviseable to open pdf from a Report textbox containing the pdf pathway?

    I have a search parameter form that passes a sql string to a report. On the report is a pathway to a pdf file. The pdf file is a manifest, and the operator is searching the manifests as quickly as possible to find a name on one of the manifests.

    If possible, it would be very convenient to simply treat the pathway as a hyperlink, however I am not having any success with this method and am wondering if it is even possible?

    Would it be preferable to base a form in datasheet view based on the parameter form and then add a GoTo hyperlink on the pathway?



    Any help appreciated as I am here at work til I get it done...

    Thank you!

    William

  2. #2
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705
    I would use a form.

  3. #3
    Oblio is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2013
    Posts
    50
    Thank you, sir.
    So I would bind the new form to the parameter query, datasheet view, and would you have any advice on how to provide a hyperlink to the pdf based on a pathway?

  4. #4
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Are you not already passing this path value to the report from a code built sql statement? Why not just use the Open file (or Application.FollowHyperlink) method right after the existing form's event that opens the report?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 5
    Last Post: 02-28-2017, 02:45 PM
  2. Replies: 4
    Last Post: 02-14-2017, 05:54 PM
  3. Replies: 3
    Last Post: 08-21-2015, 12:06 PM
  4. Replies: 9
    Last Post: 11-18-2014, 05:40 PM
  5. Open report on value of textbox
    By blueraincoat in forum Reports
    Replies: 39
    Last Post: 09-21-2011, 01:53 AM

Tags for this Thread

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