Solved

PDF Fields

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Print 2 pages as PDF using Word 8 51
SharePoint 2013 open PDF in adobe 5 457
How to sign PDF without using digital ID? 3 142
Convert MS Word document to a PDF file 9 82
This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
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…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

777 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