Das Notes Forum
Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: RvM am 21.11.06 - 09:53:26
-
Ich will über eine AAktion ein bestimmtes Dokument öffnen und habe folgendes Script reingepackt:
Dim session As New NotesSession
Dim uiws As New NotesUIWorkspace
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = db.GetDocumentByUNID("637258F7A4CB47ABC125722C0036380D")
Set uidoc = uiws.EditDocument(True,doc)
Leider öffnet sich das Dokument nicht.
Was habe ich vergessen?
-
Die Fehlerbehandlung, falls das Doc nicht gefunden wird.