Chuck,
Even though you tell the form to release, it doesn't fully release until it executes the last line of code. When you launch the modal form, it still actually exists because it is still in one of its methods.
You could set up an outside entity like a timer to launch the form. Attach the timer to an application object. In CASE blah2, configurethe properties of the timer object to tell it what form to launch. Set it's timer to run and then let the form's method exit releasing the form. The timer object would launch the form when the timer event fired and you couild disablethe timer object in the Load event of the new form.
HTH.
>
>DO CASE
> CASE blah1
> ...
> CASE blah2
> ...
> ThisForm.RELEASE
> DO FORM auth
> CASE blah3
> ...
>ENDCASE
>
>>Can you show us the code you're using, including the method where you've put the code? This works fine usually.
>
>>>
Thisform.RELEASE doesn't work? I have all my forms in Modal settings (so can not use other selections in the menu, but that's not the only reason). I have a 'Find' form to locate varies stuff and then want to CLOSE that form and open the next form. Right now, I have both form open (the second form covers the little form behind it). I even have
Thisform.RELEASE right before opening the second form, no effect!?!? I could make those two forms Modalless, that's the only way? How to do it otherwise (and keep the Modal)?
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao