Subject | String Blob handling? |
---|---|
Author | Chuck Belanger |
Post date | 2013-04-02T22:27:13Z |
Hello:
I am a little confused about using Blob (text) fields in IBO. (Delphi
XE2, FB 2.52, Win7)
When I do the following
Grid.Cell[x,y].asString := qry.FieldByName('some_blob').asString;
Are there limits to the string length? Are they ~32K or the Delphi
String limits (> 1 billion)?
If they are the lower amount, I would like to make sure I can pass
longer strings.
What is the best IBO way of doing this?
I tried
TIB_ColumnMemo(qry.FieldByName('some_blob')).AssignTo(Cell[x,y]);
and that just led to an error: Cannot access some_blob as DateTime.
Thanks,
Chuck Belanger
I am a little confused about using Blob (text) fields in IBO. (Delphi
XE2, FB 2.52, Win7)
When I do the following
Grid.Cell[x,y].asString := qry.FieldByName('some_blob').asString;
Are there limits to the string length? Are they ~32K or the Delphi
String limits (> 1 billion)?
If they are the lower amount, I would like to make sure I can pass
longer strings.
What is the best IBO way of doing this?
I tried
TIB_ColumnMemo(qry.FieldByName('some_blob')).AssignTo(Cell[x,y]);
and that just led to an error: Cannot access some_blob as DateTime.
Thanks,
Chuck Belanger