Domino 9 und frühere Versionen > ND6: Entwicklung
Kalender: CurrentCalendarDateTime
Driri:
Wo ist dateV denn deklariert ? Mit Option Declare hättest Du das sofort gemerkt.
William Wallace:
Option declare
und
Sub Regiondoubleclick(Source As Notesuiview)
Dim ws As New NotesUIWorkspace
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim dateV
Set db = session.CurrentDatabase
dateV = source.CalendarDateTime
Set doc = db.Createdocument
doc.form = "MSlot"
Call ws.editdocument(True, doc)
Call doc.ReplaceItemValue("vonDatum" , dateV)
End Sub
Driri:
Dim dateV As ??? Da fehlt was.
Und vertausch mal die letzten beiden Zeilen. Ansonsten wird das Dokument erst im Editmode geöffnet und dann wird im Background das Item gesetzt. Die Änderung bekommst Du im Frontend nicht angezeigt.
William Wallace:
Thanx !
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln