|Referencing a subform
Tim Ward <tim@goldengrovenurserydotcodotuk>
|Thu, 30 Nov 2023 16:27:15 +0000
I have a subform on a form opened by a pushbutton like below and works
OK for what I need.
f = this.parent.form
set procedure to DeliveryList.wfm additive
x = new DeliveryListForm( f, "Mypopup" )
x.top := 10
x.left := 20
In the main form I have some custom pushbuttons and when I click one of
these I want to action different things on the subform, like refreshing
the grid there or changing a text field.
What's the correct syntax as I can't seem to get it right. So below is a
line setting the value stored as a custom property of the pushbutton
(Order_number) to the rowset on the main form, so I can reference the
main form OK
But how do I refresh the grid on the subform when I click a custom
pushbutton on the main form.
thanks in advance