Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Bullzip filename

$
0
0

Hi!

 

I am using PB 11.5.1 and Bullzip to export the reports of my system to PDF.

 

I was asked to create a report scheduler that exports the user selected reports and emails them.

 

I have a function that does the printing

 

(I have selected the Bullzip printer)

..

if ai_copies >= 0 Then adw_dw.modify('datawindow.print.copies=' + string(ai_copies) + ')')

  adw_dw.modify("datawindow.print.filename='" + string(as_filename) + "')")

  li_printed = adw_dw.Print()

..

where as_filename I have the report name

 

If the parameter as_filename is something (eg the name of the report) I get a dummy file inside my app's folder, named after the as_filename but it is not PDF (reminds me of PostScript).


If the parameter of as_filename is empty, the reports are saved as DataWindow.pdf in the location that I have set inside Bullzip configuration. I guess that this is caused because the BullZip (?) is trying to get the datawindow name.

If I do a "describe('adw_dw')" I will get returnd the result: datawindow (I read that here)

 

Is there a chance I can change that dynamically on runtime?

 

I need to get Bullzip to save by the report name or else I have every new report overwrite the older + I do not know what to email

 

 

Any thoughts?


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>