Subject RE: [IBO] IB_COlumn Assign AV
Author Alan McDonald
> >assigning this new stream to the other field..
> >Where do I set the OTHER blobfield to write?
>
> Oh, right, sorry, I thought you were writing back to the same
> column but I
> see it's a different one and there's more to this than meets the cursory
> eye (the eye is a bit more cursory than usual today due to smoke!!)
>
> But it's impossible to tell from your code sample where things are coming
> from and going to.
>

ok - I was too quick with my pseudo coding - sorry
but this seems to work
AnsRVF :=
IB_QConvertToRTF.CreateBlobStream(IB_QConvertToRTF.FieldByName('ANSWER'),
bsmRead);
AnsRTF :=
IB_QConvertToRTF.CreateBlobStream(IB_QConvertToRTF.FieldByName('ANSWERRTF'),
bsmWrite);
RichViewUtil.LoadRVFFromStream(AnsRVF);
RichViewUtil.SaveRTFToStream(AnsRTF, False);
AnsRVF.Free;
AnsRTF.Free;
This way I don't have to Assign or Copyto
thanks
Alan