Open PDF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Seanner
    New Member
    • Nov 2008
    • 3

    Open PDF

    On my form I would like to be able to open a PDF file with a button. The form is MainData and the PDF file would be the current record on the form (TicketNum). I checked the forum and found instructions on how to do it but it doesnt seem to be working. ( http://bytes.com/forum/thread201539.ht ml )

    Can anyone tell me how to incorporate this into my DB?
  • Breezwell
    New Member
    • Sep 2008
    • 33

    #2
    Well, the easiest way to open a file on your hard drive would be the following:

    1. Create a button
    2. Set the HyperlinkAddres s property for the button to the name of the file.

    You can set this link to point to an object in the current database or a file outside the database.

    Thats it.

    Comment

    • Seanner
      New Member
      • Nov 2008
      • 3

      #3
      I tried the button route. As the ticketnum changes, I would need to properties on the button to change as well.

      Comment

      • Seanner
        New Member
        • Nov 2008
        • 3

        #4
        Actually I figured out how to do it. It's not pretty but it works! :)

        Comment

        • Breezwell
          New Member
          • Sep 2008
          • 33

          #5
          Good deal.

          I have actually been mulling over this but have not had a chance to implement any ideas to test a solution. Do you mind sharing how you got this to work?

          Comment

          Working...