By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,827 Members | 2,220 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,827 IT Pros & Developers. It's quick & easy.

Open PDF

P: 3
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.html )

Can anyone tell me how to incorporate this into my DB?
Nov 18 '08 #1
Share this Question
Share on Google+
4 Replies


Breezwell
P: 33
Well, the easiest way to open a file on your hard drive would be the following:

1. Create a button
2. Set the HyperlinkAddress 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.
Nov 18 '08 #2

P: 3
I tried the button route. As the ticketnum changes, I would need to properties on the button to change as well.
Nov 18 '08 #3

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

Breezwell
P: 33
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?
Nov 19 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.