>What's the best way to troubleshoot a form object not releasing?
>
>It is a class based form which I have a variable reference to. Var.Release() or var = .NULL. aren't releasing the form.
>
>It seems to point to the fact that something else has a reference to the form but I can't find anything that should/does has a reference.
>
>Any help in tracking this down would be appreciated.
Another possible reason may be the private datasession having an alias with uncommitted changes. Try to add a loop which would go through all open aliases and, after tablerevert()ing each, explicitly closing it. Form.unload() is probably a good place to do that.