New Forum | Previous | Next | (P-PDF) Beginners
Topic: Hate to beat a dead horse........
Conf: (P-PDF) Beginners, Msg: 119819
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
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.name; // get name of first
// 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.