cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

powerbuilder

Former Member
1,148

Hi All,

I am saving a data window as PDF from my application.

dw_1.saveas("path", PDF, TRUE)

when the above code is executing, it is making an hourglass pointer.

I am using below code to create pdf from my application.

dw_1.Object.DataWindow.Export.PDF.Method = Distill!
dw_1.Object.DataWindow.Printer = "\\prntsrvr\pr-6"
dw_1.Object.DataWindow.Export.PDF.  &
 Distill.CustomPostScript="Yes"

I do not want to display hours glass to user,which prevent them to continue their work.

Is there any solution for this.

Thanks

Rashmi

View Entire Topic
Former Member
0 Likes

You can also generate a PDF by exporting as pdf instead of printing.

dw_1.SaveAs (ls_fileName, PDF!, True) 

It will still HourGlass, but you can work with other windows applications if that is what you want. If not, then you have to perform the export asynchronously as Chris suggested.