Jump to Real's How-to Main page

Pass the content of a dw to another window

Call the second window passing a reference of the datawindow
OpenWithParm( w_window, dw_1 )
then in the Open event of w_window
datawindow    ldw_parm
ldw_parm = Message.PowerObjectParm
dw_1.DataObject = ldw_parm.DataObject
ldw_parm.ShareData(dw_1)
and in the Close event
dw_1.ShareDataOff()

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]