•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 329,054 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,602 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 240 | Replies: 1
![]() |
•
•
Join Date: Jan 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
You don't say whether you want to call it from a menu or a button or something else, but whatever the mode, you'll want to do if from a macro attached to that mode.
In your form, create a button (for example) and for the OnClick property, call the macro macOpenPDF (for example). In the Action column, use "runapp" and for the command line argument, you must reference the path and filename to Adobe Acrobat (the application) and then, the path to the actual document you want to open. In my test form, here is my command line argument for the runapp action:
C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe c:\clc-drive.pdf
Save the macro and the form, then click that sucker and see it work! Of course, you can use this same method to open any document from any valid application, even text files in Notepad. But make sure your users will have the same applications at the same path destinations or the logic will fail.
Good luck- SLH
In your form, create a button (for example) and for the OnClick property, call the macro macOpenPDF (for example). In the Action column, use "runapp" and for the command line argument, you must reference the path and filename to Adobe Acrobat (the application) and then, the path to the actual document you want to open. In my test form, here is my command line argument for the runapp action:
C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe c:\clc-drive.pdf
Save the macro and the form, then click that sucker and see it work! Of course, you can use this same method to open any document from any valid application, even text files in Notepad. But make sure your users will have the same applications at the same path destinations or the logic will fail.
Good luck- SLH
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
DaniWeb Marketplace (Sponsored Links)
•
•
•
•
access adobe blue gene chips code combo data dell development dos drivers dropdownlist enterprise firefox graphics hardware ibm ibm. news intel intel ibm internet linux memory microsoft module mozilla net news open open source open-source opengl openoffice pdf red hat reuse russia software source spam sun super supercomputer supercomputing system ubuntu vista web windows x86
- Open In New Window Php (PHP)
- code for open PDF (MS Access and FileMaker Pro)
- how to open a pdf file using form in access and creation of browser button (Visual Basic 4 / 5 / 6)
- How to open pdf documents from a Microsoft Access Form (MS Access and FileMaker Pro)
- How to open pdf documents from a Microsoft Access Form and Creation of Browser (MS Access and FileMaker Pro)
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: New to Access
- Next Thread: How do you guys handle autoupdating MS local databases?


Linear Mode