title: How to set the content of a RichTextItem field in a Notes document?
body: <p>This one seems like it should be simple enough.  I'm writing a Notes Agent in Java; it calculates a fairly large amount of numeric data (a 6400-entry array of doubles) that I want to store in an existing document, updating a field.  Because of Notes' field limitations, I figured I needed to use a RichText field to do that.  (My initial attempt to write to a multi-value Number field resulted in it failing to save somewhere between an array of size 4000 and 5000.)  It's not clear to me how one stores that value in a RichTextItem, though.  All my attempts have failed.  In one case, using doc.replaceItemValue(), it seemed to convert the item to a Text List.  Getting the item, casting it to a RichTextItem, and calling setValues() or setValueString() doesn't seem to do anything.  This shouldn't be this hard!  Any pointers?</p>
  
  <p>(Alternately: Any better suggestion for how to store my array in a document in the database?)</p>
  
  <p>Thanks,
  Reid</p>