Hi John:
sAliasName is string = "Form_USTAMM"
IF WinStatus(sAliasName)<>NotFound THEN
WinStatus(sAliasName,TopActive)
ELSE
MDIOpen("Form_USTAMM",sAliasName ,"")
END
this will put the window - if open - into the foreground, otherwise it will open the MDI-child.
Regards, Guenter