Solved

PDF Fields

Posted on 2010-09-24
2
407 Views
Last Modified: 2012-05-10
This is question is a follow up to my last succesfully answered question regarding using VBA to read Adobe field names.

How can I extract ALL the fields names in a PDF document - this would remove the requirement to identify them individually first and allow me to simply move the values to corresponding Database fields which could be dynamically created?

0
Comment
Question by:kokane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 250 total points
ID: 33760571
Go back to my old VBA program and after you create the JSO object, insert the following code snippet:

 This will iterate over all fields and create a string with the names of these objects.


' find all form fields
    Dim fields As String
    fields = "Form fields: "
    Dim i As Integer
    Dim f As Object
    For i = 0 To jso.numFields - 1
        fields = fields & " " & jso.getNthFieldName(i)
    Next i
    MsgBox fields

Open in new window

0
 

Author Closing Comment

by:kokane
ID: 33761258
Thanks spot on.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Inserting page numbers in Portable Document Files not only enhances manageability but also makes them look professional. With numbered pages, the file appears more organized and it becomes easier to search for a particular page. The size and the vol…
*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question