1. Scot Styer
  2. PowerBuilder
  3. Friday, 3 March 2017 13:56 PM UTC

We have a client, who would like to enter information onto 
a pdf.  Where they have certain fields that would be entered, and saved to a file.   
They want it to look like the pdf that was created. 

They don't actually want to save the data to the database, but want
it to look the same as a mailed form


Is there any way, that I can bring up that pdf for entry 
within my powerbuilder program (12.6 classic) 
or.. would I have to execute an external abode program, to do the 
entry. 
And... wait on the pdf to be save, so you can continue with 
the powerbuilder application? 

Or... is there some kind of 3rd party activex object I could use? 


They don't want to enter the info, on a pb datawindow and save it to the pdf 
they want it to look exactly like the pdf that was created. 

thanks 

Chris Pollach Accepted Answer Pending Moderation
  1. Friday, 3 March 2017 14:23 PM UTC
  2. PowerBuilder
  3. # 1

Hi Scot;

  I have seen this done with Adobe's Fillable Forms PDF feature. This can be done from PB by either calling Adobe externally or using an OLE interaction.

  However, another technique that I have used is via a DataWindow that mimic's the PDF Fillable Form. Then when the user completes the dataum in the DW object, use the SaveAs (PDF!) feature to render the PDF and let them view the PDF before processing the data and/or PDF further. While you can use the Adobe Reader via OLE to view the resulting PDF, I like to use PB's INET object to bring the newly rendered PDF into the users favourite web browser for the user to review.

Food for thought.  HTH

Regards ... Chris

Appeon: Director, Developer Relations.

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 3 March 2017 19:24 PM UTC
  2. PowerBuilder
  3. # 2

The Microsoft Web Browser control can display PDF files including forms. It won't be any help extracting the answers.

I have an example:

http://www.topwizprogramming.com/freecode_webbrowser.html

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.