Domino 9 und frühere Versionen > Entwicklung
Ansicht per Script wechseln
RvM:
Ich möchte gerne im Client per Script nach doc.close in eine andere Ansicht wechseln.
Geht das??
ata:
... eine Ansicht geht mit Script so weit ich weiß nicht - aber ein Frameset kann man per Scriipt öffnen => NotesUIWorkspace.OpenFrameset...
ata
Glombi:
Es geht mit
Call notesUIDatabase.OpenView( viewName$ [, key$] [, newinstance] )
Andreas
ata:
... oh ::) 8) ::)
ata
RvM:
Mein Script (Auzug) sieht so aus
Dim v As NotesUIDatabase
Dim oldDoc As NotesDocument
Dim newDoc As NotesDocument
Dim thisDoc As NotesUIDocument
Set db = s.CurrentDatabase
Set thisDoc = ws.CurrentDocument
Set oldDoc = ws.CurrentDocument.Document
Set newDoc = OldDoc.CopyToDatabase(db)
...
Call thisdoc.Close
Call v.OpenView("Kopien")
Ich bekomme immer "Object variable not set"
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln