1. Kelly Wonderly
  2. PowerBuilder
  3. Wednesday, 30 January 2019 19:37 PM UTC

In PB 2017 R2 Build 1769, I used the below code to generate a PDF - which works great:

 

lds_holder.Object.DataWindow.Export.PDF.Method = NativePDF!
ll_print = lds_holder.SaveAs( ls_attach_path , PDF!, FALSE )

 

HOWEVER, we currently have the option to APPEND to an existing PDF.   So instead of sending 5 different PDFS (one for each DW retrieved), the customer would get 1 PDF with all 5 reports in it.

 

Is this an option?   

 

Thank you!

Kelly

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 31 January 2019 16:47 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Kelly;

  Currently, the NativePDF feature does not allow you to add or merge with existing PDF files. You would have to use a 3rd party product for that.

  If you place all your single DW's as children (aka "Report") into one PDF by using either a NESTED or COMPOSITE DW type as the parent DWO - it would now include the other 5 DWO's as children and all of those would appear in the one PDF file after the SaveAs().

HTH

Regards ... Chris

Comment
  1. Kelly Wonderly
  2. Wednesday, 6 February 2019 18:04 PM UTC
Thanks! I do hope that the merge or append functionality gets added it! It would greatly simplify what we have to do now.
  1. Helpful
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Tuesday, 5 February 2019 05:12 AM UTC
  2. PowerBuilder
  3. # 1

Kelly, please add this as an enhancement request to Appeon. It's silly that we cannot append/concatenate PDF files.

Thanks,
Olan

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 5 February 2019 15:55 PM UTC
Hi Olan;

FYI: Ticket #2041 - PDF enhancement. :

Regards ... Chris

PS: Also .. "merge". ;-)
  1. Helpful
  1. Olan Knight
  2. Tuesday, 5 February 2019 16:23 PM UTC
Thanks, Chris! You rock! :)
  1. Helpful
  1. Kelly Wonderly
  2. Wednesday, 6 February 2019 18:02 PM UTC
Thanks Chris!!!
  1. Helpful
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.