> FOR EACH loForm In _Screen.Forms > =Messagebox('Here is the form: ' + loForm.Name) > IF loForm.caption = 'OrderEntry_Scx' > *!* loForm.Release() > *!* loForm.Name.Release() > *!* OrderEntry_Scx.Release() > *!* loForm.Release > *!* loForm.Name.Release > *!* OrderEntry_Scx.Release > ENDIF > NEXT >I really doubt that the Caption of the form is OrderEntry_Scx. Maybe this is the Name of the form, but not the caption.
... =Messagebox('Here is the form: ' + loForm.Name) **** IF loForm.caption = 'OrderEntry_Scx' IF loForm.Name = 'OrderEntry_Scx' && Name not Caption ...:-)