BLOB -> BigText (BigText.READ inconsitency)

[Deleted User][Deleted User] Posts: 0
Hi there,

I want to transfer some data from BLOB field to BigText variable. I used
someBlob.CREATEINSTREAM(inS);
someBigText.READ(inS);

now, the problem is: someBigText variable contains only the part of the BLOB, that is, the part which ends with the first couple of 'newline' characters. As such BigText.READ method seems pretty much useless; the only way to accomplish my goal is then:
someBlob.CREATEINSTREAM(inS);
WHILE NOT inS.EOS DO BEGIN
    inS.READ(text);
    someBigText.ADDTEXT(text);
END;

Am I missing something, or is this just the way it works? I mean, what's the point in BigText.READ?
Sign In or Register to comment.