PowerBuilder ‘Gotcha’ – Modify Parent Datawindow after a Getchild

Posted on Friday, May 27th, 2011 at 8:20 pm in

If your window makes use of a datawindowchild for whatever reason remember that if you modify the parent datawindow the reference to the child will (most likely) be lost. In the PB Help it states: If a property causes this behavior, this is noted in its description in Chapter 3, “DataWindow Object Properties.” but I have been unable to find any of these notes. You might as well check if the datawindowchild has any rows in it and if it doesn’t, redo the Getchild and then re-populate the datawindowchild (retrieve, rowscopy, etc.).

You might also be interested in