- Joe Hess
- PowerBuilder
- Tuesday, 19 February 2019 07:45 PM UTC
When I call the datawindow Print method with the option to show the print dialog, the dialog appears twice regardless of whether I print the document or cancel from the first print dialog. If I call the print method without showing the dialog, the datawindow prints to my default printer with no prompt.
Here is my print command: ib_printOK = (dc_document.print (ib_cancelDialog, ib_printDialog) = 1)
ib_cancelDialog is set to FALSE, ib_printDialog is set to TRUE.
On the print specifications page of the datawindow, Prompt Before Printing is not checked.
Any help would be appreciated.
Joe Hess
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.