Property or Method is not available during QueryOpen: ViewRefresh

I have an application that uses the NotesTimer class to refresh some views every 15 seconds. The views are displayed together in a frameset. In both views I prevent clients from opening the documents with the QueryOpen event using a single line: continue=false. If a users try to open a document it, of course, doesn’t open but they will then get 2 or 3 dialog boxes with this error:Property or Method is not available during QueryOpen: ViewRefresh

Is there a way to prevent this from happening?

Subject: Property or Method is not available during QueryOpen: ViewRefresh

Hmmm, strange.

Shouldn’t your Continue = False line be in the Queryopendocument event?

Perhaps you could put an error handler in there:

Sub Queryopen(Source As Notesuiview, Continue As Variant)

On Error Goto errHandler

bailOut:

Exit Sub

errHandler:

Resume bailOut

End Sub