>>
Launch the form with a name clause.
>>
>>do form form1 name "FirstForm"
>>do form form2 name "SecondForm"
>>
>>*SecondForm.AnyMethod
>>FirstForm.AnyPEM
>>
>>It's better you assign variables to names and keep them somewhere which each new form could access (oApp custom application, _screen etc or public ).
>>Cetin
>
>This sounds very good. I made a workaround which I did not expect to work: I send the property (the reference to the object) as parameter to the other form. There I also use a property which holds the object which was sent as the parameter to the INIT(). When I make changes to the object from the called form, the changes will also be in effect in the original form's property, because the property seems just to point to the object.
>
>Can you explain why this works? I expected that the changes were not visible backwards, unless I would send the parameter by reference.
>However, I'm happy that this works, although your solution is much more professional.
>
>Christian
And if you use the scx name you could directly reference the "first" instance of a form. i.e
do form myform && 1st instance
do form myform && 2nd
do form myform && 3rd
do form Another
*AnyForm.AnyPEM
myForm.AnyPEM && "myform.scx" - accesses to 1st instance
Cetin