Introduction to PowerBuilder

HomePrevious Lesson: Filtering the Data
Next Lesson: Print Previewing the Report

Printing the Report

This is a single line script:
// Object: cb_print in w_product_master
// Event: Clicked
dw_product.print( TRUE)

A parameter of TRUE allows the display of the printing status dialog box with a Cancel CommandButton. This allows the user to stop the print job at any time.

If you don't pass parameters to this function, PowerBuilder prints the report without displaying the above dialog box.
HomePrevious Lesson: Filtering the Data
Next Lesson: Print Previewing the Report