Hallo,
wenig Zeit daher Telegrammstil:
Die Hilfe sagt zu
QueryOpen:
QueryOpen( Source as NotesUIDocument, Mode as Integer, IsNewDoc as Variant, Continue as Variant )
Mode
Integer. Read-only. 0 indicates the user is opening the document for reading. 1 indicates the user is opening the document for editing.
Continue
Boolean. Read-write. Indicates whether or not the document will open. Initially set to True. Set this parameter to False if you do not want the document to open.
Also
if mode = 1 then Continue = False
Gerald