>>>>Does anyone have a way of preventing multiple instances of a form without setting the Form WindowType property to 1-Modal?
>>>
>>>I beleive you'll only receive general ways of accomplishing your task until a little more is known about how and where you are calling the form form, if from another form or a menu. If you are calling from your menu just issue a *skip for WEXIST("formname") and that option will be disabled when you refresh the menu. This will be by far the easiest and less cumbersome way of doing what you need.
>>>
>>>HTH
>>
>>
>>Less cumbersome, but not as fun!:) I want the form to be acitivated if it is chosen again from the menu.
>
>Then perhaps you could make a procedure instead of a command on your menu selection...
>IF WEXIST("formname")
> ON SELECTION BAR (your form name position) OF (your menu item) ACTIVATE Window &FormName
>ELSE
> DO FORM "formname"
>ENDIF
>Or something on that line.
>HTH
This should be all you need
IF WEXIST("formname")
ACTIVATE Window &FormName
ELSE
DO FORM "formname"
ENDIF
Jon Paskett
Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!