> >
> > -------------------------
> >
> > I have the following statement in my main.prg:
> >
> > public loForm as object
> >
> > Please keep in mind that 4 forms are being closed. Only 1 of them fails (the one that is "on top") regardless of what order I close them. If there were a problem with loForm, it would happen for each of the 4 forms. (I tried your changes, anyway, just to be sure, but it didn't fix the problem.)
> >
> > Thank you, Art
> > -------------------------
>
> Art
>
> I think you should be doing loForm.Release instead of loForm.QueryUnload.
>
> > public loForm as object
>
> You are using a local variable naming convention for a public variable.
>
> Regards
> Tushar
Yes, I had code in QueryUnload, which in turned called Release. I have moved all of that into Release. (This has had no effect on the problem.)
Art