Here's the snippet of code I'm using:
FieldValueCollection FVCNew = DI.GetFieldValues(); FVCNew.Add("Res/Ord Number", "Test"); DateTime Date = DateTime.Parse("01/01/1950"); FVCNew.Add("Date", Date); DI.Lock(LockType.Exclusive); DI.SetFieldValues(FVCNew); DI.Save(); DI.Unlock();
Here on answers the recommendation is to use a DateTime object, which I am, but I don't get anything in the field. I don't get an error either.
The other field does update, so I do know I'm doing it correctly in general. I tried a string also but that did not work either. Any advice is appreciated.