open PDF from form

S

Song Su

I have a form to display PONumber. Users want to click a button to display
the actual PO's pdf file in adobe reader. For example, if my form display
PONumber as 5100015888 the button should open
s:\apps\potrack\data\pdf\5100015888.pdf

How to code that button? Thanks.
 
F

fredg

I have a form to display PONumber. Users want to click a button to display
the actual PO's pdf file in adobe reader. For example, if my form display
PONumber as 5100015888 the button should open
s:\apps\potrack\data\pdf\5100015888.pdf

How to code that button? Thanks.

PONumber is the name of the control on the form that displays the PO
number?

Application Followhyperlink "s:\apps\potrack\data\pdf\" &
Me![PONumber] & ".pdf"
 
S

Song Su

Yes, it is a text field on the form.

fredg said:
I have a form to display PONumber. Users want to click a button to
display
the actual PO's pdf file in adobe reader. For example, if my form display
PONumber as 5100015888 the button should open
s:\apps\potrack\data\pdf\5100015888.pdf

How to code that button? Thanks.

PONumber is the name of the control on the form that displays the PO
number?

Application Followhyperlink "s:\apps\potrack\data\pdf\" &
Me![PONumber] & ".pdf"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top