Text disappears from rtf field

We have a db on an AS400 Domino server. With replicas on windows laptops.

We have a summary form that contains a rich text field named rtfSum and one other text field. The user on the laptop clicks a button on the main form that programmatically, using lotuscript, creates a summary document from the summary form, it gets data from other docs, formats the data as text and writes it to the rich text field and other text field, and saves the summary document. The fields that are written to are editable. The editable fields are hidden and their content is displayed using computed fields so that they can’t be edited by the user and they display the way we want. A view gives the user access to view and print the summary document. No problem.

All keyed data along with the newly created summary docs get replicated to the AS400 Domino server. No problem. The summaries are there, viewable and printable, as they were created.Then one day we look at the summaries on the server db, and all the text in the rich text field and the other text field that had text placed in them are now blank. Gone. " ". Space. Nothing. The rest of the document is exactly as the form is but the contents of the editable fields are blank.

The summary has a SaveOptions field which is set to “0”. The document is created and saved by the lotuscript agent and sets the SaveOptions field so that no one can open the doc and save it again. So no one can go in and mess with the document or the contents of editable fields (which are not visible anyways).

Why would these documents lose their text fields contents? All the summary documents that once contained text in the rtf and text fields have lost their content.

It is a simple form with two fields, one rich tex and one regular text. Both lose their contents.

An ideas? Any questions? Any help please?

Subject: RE: text disappears from rtf field

I’m not sure the SaveOptions field is enough; also put Continue=False in the Querysave form event.

The document, which was not supposed to have been modified, has been modified. Check the $UpdatedBy field and see who modified it. Call them up and ask them what they did.