Hi There
We have just upgraded the Domino server to R.6.5.2 and since then we have some problems in different databases. I have tried to troubleshoot, but this is not just simple issues.
-
We have an database handling Out of Offices. The DB contains a form for this, and this form contains two fields - FromDate and ToDate.
-
From a users point of view, what happens is this: User creates a new Out of Offices registration. This contains the FromDate and ToDate from the day selected in the calender view. When user is trying to select another eiter FromDate or ToDate, the two dates are changed to @Today, and they have to change them both.
Before the upgrade, the FromDate and the ToDate from the selected day where kept - as default also.
- From a designers point of view, what is happening is, that the user clicks to make a new. The PostOpen on the form sets the fields by the code:
Call Source.FieldSetText(“FromDate”, StartDateTime)
Call Source.FieldSetText(“ToDate”, StartDateTime)
where StartDateTime is set to: workspace.CurrentCalendarDateTime
The fields has @Today as default value.
-
When debugging the script no errors occure and the fields are set correctly when creating. When looking closer into the debugging it seems like the FieldSetText do not set the doc.field, so the information is not kept.
-
I have tried different things, and none of them worked - having the field “StartDateTime” on the form, saving the document, changing the default for the fields etc.
It seem to me like it has something to do with the upgrade and the way things are handled. I cannot defint what is handled differently, but I guess it has something to do with eiter FieldSetText on uidoc, handling of default values or something like that.
Please help me, if you can ![]()
Charlotte