Subject | RE: [IBO] BLOB field translated incorrectly with varaints |
---|---|
Author | Svein Erling Tysvær |
Post date | 2012-07-04T07:50:37Z |
> CREATE DOMAIN DM_BLOB ASI though subtype 0 was binary, and that it was subtype 1 that was text?
> BLOB SUB_TYPE 0 SEGMENT SIZE 80
> DEFAULT NULL;
> Memo1.Lines.Text := FqryTable.FieldByName('MyBlob').AsString;Maybe .AsString translates the binary blob to text, whereas lvar already is of a different type?
>
>But the following does not work (where lvar is a variant):
>
> lvar := FqryTables.FieldByName('MyBlob').Value;
> Memo2.Lines.Text := lVar;
Set