The function below is a generic function that you could implement as part of your form manager or as a function in a procedure file. From the form where you want to do something, make a call like:
oOtherForm = GetFormReference("OtherFormName")
or
oOtherForm = oFormManager.GetFormReference("OtherFormName")
Now you have an object reference to the other form and you can access any of its public PEMs as needed. Ex. oOtherForm.Refresh()
, snipped >
>
>O.K. Now I see how it gets the "reference number" of the form that I want to operate on, but how does it work in an expression? For instance, if I want to refresh() this form, would I just say:
>
>luretval.refresh()
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao