I’m trying to clean up a database. It has a LOT of views, some of which I know are no longer being used. I have created a PostOpen event (LotusScript) in all the views that writes to a log file when the view is opened. It works for the most part except when the view is (calculated) an embedded view. Then I get “Object variable not found”. I believe I may also get this when agents try to open the view(s). Is there any way to determine what is opening the view, i.e. agent, embedded view, etc.?