Page 1 of 1

bug in TCRDBGrid - clob

Posted: Wed 24 Jun 2015 12:29
by albourgz
Hi,

I have a table with a clob and a TCRDBGrid.
the clob holds a null character.
Using direct mode, unicode and unicode environment.

It is displayed in sql developer.
OraQuery1->Fields->Fields[1]->AsString holds the full string without the null character.
But when I edit the clob in a TCRDBGrid, everything after the null character seems "dropped" and not displayed.

Regards.

Re: bug in TCRDBGrid - clob

Posted: Fri 26 Jun 2015 10:44
by bork
Hello

Null terminator means the end of the string, so a string, that contains a null terminator, can be displayed incorrectly by any VCL controls. If you need to store big data with null terminators, we recommend to use the BLOB data type.

CRDBGrid is not supported for several years already. It is a FREE bonus, and we deploy it with our components in source code as is. If you have found any bugs in CRDBGrid, you can fix them by yourself.