Whoops! Darned right! Got to learn to start waiting for the brain to catch up with the fingers.
Alan
>>Probably the simplest thing you can do is to put code in the menu item's 'skipfor'. Say your form name is 'MyForm', then something like:
>>
>>
>> VarType(MyForm.Name) = 'C'
>>
>>
>>Then if the form is open, it's name will be a type of 'C' and the menu item will be disabled.
>>
>
>And if your form MyForm does not exist (and the variable does not exist) you'll get an error if you use VARTYPE() (Alias MyForm does not exist). You should use TYPE("MyForm.Name") in this case.