General information
Title:
User response to Printer Dialogue box
I have a VFP7 application that prints out two related reports ( Rpt1 & Rpt2). The 1st report is in portrait mode and the second report is in landscape mode so I can't use subreports. In the code (see below) I bring up the printer setup dialogue box so the user can specify the printer destination etc. and then the printout dialogue box so the user could cancel the print job. The printer dialogue boxes are all suppressed for the second report.
*!* For Report 1
oRpt1.PrinterSetup(0) && Brings up Printer Selection Dialogue Box
oRpt1.PrintOut(.T.) && Brings up Printout Dialogue box
*!* Later for Report 2
oRpt2.PrintOut(.F.) && No dialogue box.
The problem is that the user can cancel printing the first report but the second report will print anyway. Is there a parameter that is passed back when the user clicks CANCEL in the printer setup or print out dialogue boxes that could be tested to cancel printing out both reports?
Stephen J Land
City of Seattle
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only