Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a PDF be filled in programatically from VFP?
Message
From
13/04/2007 08:37:12
 
 
To
12/04/2007 21:29:30
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01215026
Message ID:
01215451
Views:
93
Keep in mind that fdf is the original method of populating forms and may not be supported in future versions. I don't know that for sure, only that I heard rumours of that from an Adobe employee so I switched to xfdf and then xml and then finally the 3rd party tool. I'll dig up some example from home later when I can.


>Hi Tracy,
>
>Thanks to Naomi, I found your original question here on the UT. It turns out that my co-worker (the one with the actual question :P) found a way to do it with fdf. The PDF forms are supplied with fields waiting to be filled in.
>
>I'm curious how you did it with xml. I did not come across any code for your fdf and xfdf examples. I'd be interested in see that too (just to compare with ours).
>
>Thanks you Naomi and Calvin for your input.
>
>Regards,
>Mike
>
>
>>Hi Mike. As Naomi wrote, it can be done and it is not difficult. Just something new to learn. :o) Are you creating your own pdf forms (or are they provided without form fields) and putting form fields on them (using full version of Adobe Acrobat)? Do the pdf forms already exist with form fields? There are many methods of populating pdf form fields with data, my personal choice is not to do it with fdf or xfdf but rather xml OR using a 3rd party tool like Gnostice. Some of the 3rd party tools available make it VERY simple. We simply set the tag property of each control on a vfp form to match the name of the form field on the pdf form (case sensitive on pdf forms) and then looped through each control and used Gnostice activex tool to populate each form field with the value in the control. Easy. Gnostice has vfp examples (I used them and modified them to work and then sent them back to gnostice). There are other 3rd party tools as well. Here on the UT I think I also have fdf
>>and xfdf code examples for doing it without a 3rd party tool.
>>
>>
>>
>>>Title says it all.
>>>
>>>TIA
>>>Mike
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform