Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Beginners


Topic: Hate to beat a dead horse........
Conf: (P-PDF) Beginners, Msg: 119819
From: jingram
Date: 10/7/2004 05:21 AM

1st off, thanks to anyone willing to help me.
I have Acrobat 6.0
I have an Access DB, with only one table in it. I have followed allot of the "demos" and "quick tutorials" that I have found here and everywhere else, but I still cant get the text fields on the form to populate with the data in the table.

What I want to do...

I have a PDF from that was sent to me. It has fields on it already, but I can alter/replace them since I will print my final results and be mailing them. I also have an Access database that contains the basic information required on the form (name, address, city-state-zip).

Letís say the form is From9.pdf
Letís say the Access Database is MyTestDB.mdb
the database has a single table called Adven
the table has the fields ADVNAME
ADVADDRESS
ADVCSZ
I CAN connect to the Access DB, but cannot get the fields on the form to auto populate with the database information.

From Kas Thomas' instructions I used ...
var myConnection =
ADBC.newConnection("MyTestDB"); // open a connection
var myTables = myConnection.getTableList(); // get table info
var theTableName = myTables[0].name; // get name of first
table
// now obtain column info for that table:
var myColumnList = myConnection.getColumnList(theTableName);
// prepare a list of names of columns
var theNames = "";
for (var i = 0; i < myColumnList.length; i++)
theNames += myColumnList[i].name + "\r";
app.alert(theNames); // display the names

Which produces the desired window which displays the table fields. But when I try to have these populate the fields on the PFD form, no matter whoís instructions I follow, nothing happens.
I am not the greatest programmer in the world, but I can code and even decipher code that i am not all that familiar with. I have experience with VB, and VBA, Access, and anything Windows, but this is DRIVING ME NUTS.

Simply put, I have the data, and need it on the form. Is there a way through ADBC that this can be done? I have referenced everything, but come up short on this one. Any and all help would be appreciated in getting Acrobat to do this one thing.


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.