Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 24 :: Page 260
Next Lesson: Course 3:: Session 24 :: Page 280
Exporting the DataWindow

If you are using a window that is inherited from w_sheet, you will find an user-defined event "pfc_saveas" at the window level. However, there is no code in that event. You need to write the following code, if you want to use the default PowerBuilder save as dialog box:

dw_product.SaveAs()

If you want to use the window which we have developed in the user objects session, write the following code:

OpenWithParm( w_export, dw_product )

HomePrevious Lesson: Course 3:: Session 24 :: Page 260
Next Lesson: Course 3:: Session 24 :: Page 280