Page 1 of 1

bug in memo field

Posted: Fri 14 Sep 2007 09:32
by scoluccia
Hi,
if I save a text in a memo field defined BLOB SUB_TYPE 1 SEGMENT SIZE 80 I lost last char insead if I define a field memo like BLOB SUB_TYPE 0 SEGMENT SIZE 80 it's work fine.
I've a big database with a lot of Memo fileds what can I do?
Thanks

Posted: Tue 18 Sep 2007 15:05
by Challenger
Please specify the version of Delphi you use.

Posted: Wed 19 Sep 2007 07:00
by scoluccia
Delphi 2007 upd3, you can try with your demo Demos\Win32\BlobText\ only change the source line " ' TEXT BLOB SUB_TYPE 0' with ' TEXT BLOB SUB_TYPE 1'

Posted: Fri 28 Sep 2007 06:47
by Challenger
According to the results of our invetigation there is no possibility to update Memo fields because of a bug in dbExpress code. Please specify the source code of the TDBXPlatform.StrToBytes function that you can find in the DbxPlatform unit. Try to perform the same operation using the standard CodeGear driver.

Posted: Tue 02 Oct 2007 15:22
by scoluccia
I've tried with upscene driver and it works fine, codegear driver fail when use firebird db with the follow error "Incorrect values within SQLDA
structure"
I've also tried TDBXPlatform.StrToBytes but it returns the correct number of bytes.
How can I solve this problem? I've to buy upscene driver?
thanks

Posted: Wed 03 Oct 2007 08:30
by Challenger
The bug with truncation of memo fields is fixed. It will be included in the next build of DbxIda which will be available at the beginning of the next week. If this doesn't suit you, please contact us by e-mail at dbxida*crlab*com.