Set uidoc = ws.CurrentDocument stellenBeschr = uidoc.FieldGetText("StellenBez") If Not uidoc.Editmode Then uidoc.editmode = True End If Set dlgDoc = New NotesDocument(db) dlgDoc.Form = "dlgprint" dlgDoc.Stellvertretung = doc.Getitemvalue("Test") Call ws.DialogBox( "dlgprint" , True , False , True , False, False , False , "Testdialog", dlgDoc , True, True )
stellenBeschr = uidoc.FieldGetText("StellenBez")
stellenBeschr = uidoc.document.StellenBez(0)
Dim ws As New notesuiworkspace Dim ses As New notessession Dim db As notesdatabase Dim dlgDoc As notesdocument Set db = ses.CurrentDatabase Set dlgDoc = New NotesDocument(db) dlgDoc.Form = "dlgprint" Call ws.DialogBox( "dlgprint" , True , False , True , False, False , False , "Test", dlgDoc , True, True )