Solved

PDF Fields

Posted on 2010-09-24
2
400 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
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Have you ever come up with a need of emailing only few pages of PDF file to one of yourfriend or colleague, instead of whole Adobe file? If yes, then surely you have face problems in doing that! Read this section as I have suggested multiple solutio…
The Adobe PDF proprietary file format is recognized as secure and formulated. But these PDF files are also prone to corruption and any external threat like virus attacks, improper storage can hit PDF file integrity.This type of damages can make cruc…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

705 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now