Set doc = db.CreateDocument
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim composed As String
Set uidoc = workspace.CurrentDocument
doc.Form = "BUMA"
doc.Titel=uidoc.FieldGetText( "txtNummer" )
Dim gDatum As Variant
Dim Datumm As String
Datumm = Format(uidoc.fieldgettext("txtDate"),"dd-mm-yyyy")
gDatum = Cvar(Datumm)
doc.Datum = gDatum
Call doc.Save( True, True )
Every item in the doc collection as example doc.Datum is a string
But in my Form "BUMA" Datum is a date
How can I make from doc.Datum an date/time value instead of a string?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!