Hi!
I've been trying to get the due date of the document base on the field CreateDate which, by default, has "Today" value. With lotusscript, i used the AdjustDay function. It was working fine until I place the value in the field. I got an error "Type Mismatch" plus, it does not display the correct date value in the dueDate field.
The code:
Please, please help. Thanks so much!
tin
I've been trying to get the due date of the document base on the field CreateDate which, by default, has "Today" value. With lotusscript, i used the AdjustDay function. It was working fine until I place the value in the field. I got an error "Type Mismatch" plus, it does not display the correct date value in the dueDate field.
The code:
Code:
Dim dDate As New NotesDateTime(doc.CreateDate(0))
Call dDate.AdjustDay(+8)
Dim dts As String
dts = Format(dDate,"dd mmmm yyyy") -->> i get the error here.
Call source.FieldsetText("dueDate",dts)
tin