Hi Vince!
You can store referrence to the form like this:
Local lcThisFormName
lcThisFormName = ThisForm.Name
public (lcThisFormName)
Store ThisForm to (lcThisFormName)
But you can also enumetare all opened forms like this:
For i= count_all To 1 Step -1
oCurrentForm = _Screen.Forms(i).Name
If (FormShouldBeReleased)
oCurrentForm.Release
endif
....
EndFor
>Hi all
>I need to release of series of forms from a main menu. However, not all forms may have been opened. Can't issue a clear all because the current form needs to remain open.
>
>question: How do I determine if a form is open short of creating a variable that is set when the form is opened and checking that variable prior to form-id.release.
>
>thanks in advance, vince
Venelina Jordanova
Outsourcing IT Services Ltd.