Subject RE: [IBO] IB_COlumn Assign AV
Author Alan McDonald
> At 02:16 PM 13/01/2005 +1100, you wrote:
> >Just looking for a hint here..
> >I have the following code:
> > stRVF :=
> >IB_QConvertToRTF.CreateBlobStream(IB_QConvertToRTF.FieldByName('ANSWER'),
> >bsmRead);
> That prepares a Blob column to be *read from* as a stream. If
> you want it
> 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);
> > RichViewUtil.SaveRTFToStream(AnsRTF, False);
> >--> IB_QConvertToRTF.FieldByName('ANSWERRTF').Assign(AnsRTF);
> >which AVs on the marked line...
> Yup. Change the mode of the receiving stream object and you
> should be fine.
> Helen
thansk Helen - but you might be mssing the RVF Vs RTF stuff -
I'm createing a stream from one blob field , then converting it to RTF, then
assigning this new stream to the other field..
Where do I set the OTHER blobfield to write?