Answered
Hi,
I'm new to Acrobat, using Acrobat Pro 9. I'm trying to launch an Acrobat prefilled and fillable form from an Access form. I see how to create a prefilled form by linking a datasource to it. It can be an Access query, so far so good. But, I still have 2 questions...
1. how would I pass a parameter? Specifically, if the user selected from a combo box on the form, I want to limit the results to that selection.
2. How do I open the Acrobat form from Access vba? Shell command?
I found some info on how to create an xfdf file, then open/run it using a shell command. Is that the best way?
TIA,
Joanne
But regardless, connecting directly to a Database is something that can only be done on your local system/network, it doesn't work for distributed forms. Is this what you want to do?
There are many ways to approach pre-populating a form. what is your process?
From a VB, or VBA program you can open a PDF in Acrobat using the IAC (inter-application communication) interface. You'll find the reference document on this at www.adobe.com/devnet. But using a shell command to open a PDF from a data file (XFDF, FDF, XFD, or XDP) will work just fine. In fact, you can use this to open a pre-populated form from a web link.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script