Trying to use _SCREEN.Forms to check each form at program close (Queryunload - have we saved etc.) Here is the simplified code
*// Two simple modeless forms with nothing on them but a label
DO FORM tst1
DO FORM tst2
=MessageBox("Ok to release forms")
FOR EACH loFORM IN _SCREEN.Forms
IF NOT ISNULL(loForm)
loForm.release
ENDIF
NEXT
One form is always ignored - in this case the first one
What am I doing wrong ?
TIA
John
To move a mountain start with the smallest stone