New Forum | Previous | Next | (P-PDF) Developers
Topic: Right tool to populate pdf doc from DB?
Conf: (P-PDF) Developers, Msg: 123642
Date: 12/10/2004 03:55 AM
Hi PDF pro! Need your help!!!!!
This is my task.
Create PDF file that contains X number of identical pages for each customer and populate this document from DB.
I was struggling to make this work from VB using Acrobat 5 (full) and SDK 5.
I created a beautiful form on my template PDF document. Spawn pages from my source doc, populated form with data, saved .pdf to disk. (Using all this objects: AcroExch.App, AcroExch.PDDoc , JSObject, template, AcroExch.AVDoc, AFORMAUTLib.AFormApp, AFORMAUTLib.Field. )
At the end this worked like a charm…except the application crashes with the “Server threw an exception” error from time to time.
Can’t figure what causes this! But by reading some of the discussions on this Forum I got an idea that I am not using the correct tools for this task.
If you think I am on the right track, I can give details of the code.
Please, please advise! Project is almost finished, but can’t go to production with this “crashing” problem. )-: