Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command button to open external application

Status
Not open for further replies.

stc

Technical User
Aug 23, 2001
25
GB
Hi,

My database contains various information about leaflets, with each leaflet a seperate record, with a unique ID number. I want to have a button on the form which will open up Adobe Reader and display the PDF relevant to the record. Each individual PDF is saved as the ID number from the database (so, ID001 is saved as ID001.pdf and so on). Is there a way to do this?

Thanks for any advice.
 
Have a look here:

Here is a function that will open a file in it's associated application, so you could use it like:

fHandleFile(me!txtIDField & ".pdf")

and the file will be opened up in Acrobat automatically.

HTH

Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top