"martin-g" <martin-g@mail.ruwrote in message
news:1155457972.471831.265930@i42g2000cwa.googlegr oups.com...
Quote:
Hi.
>
Now I'm working on a project one of the requirements of which is
reading data from a PDF file into a table. I have googled quite a long,
but couldn't find any appropriate method to do this. It's unbelievable
that there is no COM component for these purpose with automation
support which could be easily utilized in VBA. Could anyone help me
with this? What would you do?
Well, I would first go to the company that made the pdf format creator, and
see what they offer. Further, I would check out their newsgroups, and
support for their products...
This is not really a ms-access question, but a problem that any developer
would have using a PDF file. I would think that going to the company and
using their newsgroups, support and community of people would be the first
choice.
However, you stopped by in this friendly newsgroup and appealed to ms-access
users. And, there is LOTS of help, and support for ms-access uses here!!
I would grab one of the many pdf to text creators. Google for this...you
find lots and lots.
Some converters have batch ability, and command line ability. That should
suffice here. I suppose a com object would be the best choice as you ask.
Anyway, after it is converted to a text file, you either import the data (if
it is in nice columnar format already), or, you write some code to parse out
the data.
There is lots of choices out there...I don't know which one to choose.
A good starting point would be to use ghostscript, and ghostview.
I would perhaps start out with ghostview (Google this), as it is a nice PDF
and post-script viewer, and does include text extraction abilities...
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com