Subject Re: [IBO] RichEdit
Author Geoff Worboys
> Would appreciate any help I can get on this: If I want to
> use the TIB_RichEdit control, can it be hooked up to a
> varchar field or must it be a BLOB field? I've hooked
> it up to a varchar field and no matter how I try to save
> it in RTF format, it's always saved in plain text. I've
> set the PlainText property to false, BTW.

How are you determining that is it saved as plain text?

How big is the varchar field?

I presume you realise that much of the varchar field will be consumed
by richtext formatting characters. This may result in the contents of
the richtext control being truncated during storage - and essentially
corrupt the field.

That is; It is not possible to determine the maximum number of
characters that can fit, when RTF formatting is involved. I am not
sure what happens in this situation, I've never tried it and dont
recommend it. IOW, yes use a blob field.


Geoff Worboys
Telesis Computing