LOCAL loFormReference, lnFormNo
FOR lnFormNo = 1 TO ALEN(_SCREEN.Forms)
IF _SCREEN.Forms(lnFormNo).Name = "YourFormName"
loFormReference = _SCREEN.Forms(lnFormNo)
EXIT
ENDIF
ENDFOR
loFormReference.Method(id_Table)
If you don't like this, you could also try looking at doing your DO FORM using the NAME clause, but as I said, it depends upon how your app is structured.
Hope this helps
>In AfterRowColChange of gridin one form I have:
>if v_wizyty_p = .t. &&if form is visible
> name.method(id_table) &&accessing method of the second form
> this.setfocus &&return to form
>endif
>
>Object name is based on formset class.