Subject | Re: [IBO] IB_COlumn Assign AV |
---|---|
Author | Helen Borrie |
Post date | 2005-01-13T03:54Z |
At 02:16 PM 13/01/2005 +1100, you wrote:
to be *written to*, you need to make its BlobStreamMode bsmWrite; or if
you want it to be both, make it bsmReadWrite.
Helen
>Just looking for a hint here..That prepares a Blob column to be *read from* as a stream. If you want it
>I have the following code:
> stRVF :=
>IB_QConvertToRTF.CreateBlobStream(IB_QConvertToRTF.FieldByName('ANSWER'),
>bsmRead);
to be *written to*, you need to make its BlobStreamMode bsmWrite; or if
you want it to be both, make it bsmReadWrite.
> RichViewUtil.LoadRVFFromStream(AnsRVF);Yup. Change the mode of the receiving stream object and you should be fine.
> RichViewUtil.SaveRTFToStream(AnsRTF, False);
>--> IB_QConvertToRTF.FieldByName('ANSWERRTF').Assign(AnsRTF);
>which AVs on the marked line...
Helen