Yong Kheng Foo 31.Jul.12 04:18 AM a Web browser Domino DesignerAll ReleasesWindows XP
Dear all expert,
I have some issues when I try to compare 2 date field. The code is as below:
If uidoc.FieldGetText("zActivityDue")<>"" Then
If uidoc.fieldgettext("zActivityDue")<=uidoc.FieldGetText("zDate") Then
Msgbox "Activity Due Date Must Not Less Than Current Date", 0+16, "Field Contains Incorrect Value"
Call uidoc.gotofield("zActivityDue")
Exit Sub
End If
End If
But the date was not able to compare properly. Is it because of uidoc.fieldgettext which change the date field to text and cause it unable to compare properly?