>Edward! Thank you for paying attention!
>The problem is simple. My knowledge is not good enough and I don't want to run second copy of the form which already exists and may be somewhere at the back of other form. May be I did not choose a right way but I don't see any other.
>Zaranee blagodaren. BAJI9I.
Your way is right:
if type("oApp.frmnew")="O" and not isnull(oApp.frmnew)
oApp.frmnew.show()
else
do form frmnew
endif
and this code shouldn't produce any loops. Obviously, there is something in frmnew.load or init event which starts the same form again and again.
Edward Pikman
Independent Consultant