New Forum | Previous | Next | (P-PDF) Developers
Topic: Help - comb PDf files for data and insert into database, 1 Attachments
Conf: (P-PDF) Developers, Msg: 111234
From: chicks
Date: 5/11/2004 04:40 AM
On 5/11/2004 3:40:48 AM, handyman wrote:
>Hi folks,
>
>I have a large directory full
>of PDF forms that I now need
>to somehow extract data from
>and then insert that data into
>a SQL Server database.
>
>How can this be done?
>
>I am a decent
>programmer/scripter, but I'm
>most comfortable with ASP,
>Javascript, or Java.
Assuming you want to extract the data from the form fields, here's a simple vbscript example using the inexpensive iSEDQuickPDF library (evaluation license key is available). It will put the field name/value attributes into an XML file for further processing, modify as desired.
To process all files in a directory:
FOR %i IN (*.pdf) DO cscript FieldData.vbs %i
FieldData.vbs
(1,184 bytes)