>I have a form that is modeless and is called from the menu.
>
>This form uses the command item and the form stays open.
>
>When i call another form from the form currently open and the form being called is modeless the form opens and closes..
>
>What is different from the COMMAND option on the menu and my
>DO FORM xx NAME xx LINKED??
>
>TIA
>Shawn
Because of the LINKED - once the variable used by NAME goes out of scope (at then end of the method that calls the form, I'm guessing), the form is released.
Use a form property for the NAME instead - e.g.
DO FORM xx NAME this.oOtherForm LINKED
You still may need to make sure you clean up the object reference in the calling form's Destroy().
Insanity: Doing the same thing over and over and expecting different results.