IF TYPE("THISFORMSET") = "O" THIS.oFormOrSet = THISFORMSET ELSE THIS.oFormOrSet = THISFORM ENDIFThen in the Exit button of my nav bar it says:
THIS.Parent.oFormOrSet.ReleaseI do it this way so I can use the nav bar to close a formset. It was working, but now I have my nav forms opening other nav forms. They all use the same nav bar class. Once in a while, the THIS.Parent.oFormOrSet reference is getting stomped somehow, and I get an "unknown member" error. The behavior doesn't seem consistent. I bounce around the forms quite a bit before seeing the error, and haven't been able to reproduce it consistently. The forms have private datasessions. The oFormOrSet property is not being written to anywhere else that I can see.