Hi Folks
I am having difficulty in writing a date using code to a date field on a form. I add an amount of days to a date , I then use the following line of code to write the new date value to the field:
myForm.SelectSingleNode("/my:myFields/my:nextChangeDate", NamespaceManager).SetValue(newDate)
However I keep getting 'Schema validation found non-data type errors.' error - both fields are in the date format though, So I do not quite understand.
Any ideas?
Regards
Chas