Subject | RE: [IBO] IB_COlumn Assign AV |
---|---|
Author | Alan McDonald |
Post date | 2005-01-13T05:34:49Z |
> >assigning this new stream to the other field..ok - I was too quick with my pseudo coding - sorry
> >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.
>
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