StrataFrame Forum

Serialization problems with RTF control and Access database

http://forum.strataframe.net/Topic9867.aspx

By thegwill - 7/1/2007

I (reluctantly) have a requirement to use an MS Access database to store RTF textbox content and I'm having trouble with the data binding on a data maintenance form

I keep receiving Serialization errors in the Output window. Here's how things are set up:

  • MS Access table with a "OLE object" field to store the RTF
  • Business Object mapper maps this to a byte[] and is set to serialize = true
  • Strataframe RichTextbox control bound to table/column using .BusinessObject and .BindingField properties (just as I would any other data type). The BindingProperty value is the default "Rtf"

Whenever I try to add a record, edit an existing one or save a Serialization exception is thrown. I assume one or more of the above is incorrect - any help appreciated

By thegwill - 7/1/2007

It's working now

I started again from scratch using a Memo field in the database (I did try this originally but without luck - that's why I ended up with byte arrays etc) and the binding all works fine

Smile

By Trent L. Taylor - 7/2/2007

Glad you got it working Smile