Using 3.0.2.5, when I access a memo field I lose the
last character.
That is, drop a TSQLConnection on a form. Drop a
TSQLDataset on the form. Set SDS.SQLConnection to SCN.
Set SDS.commandtext to "select description from
dbc.work_order_body where work_order_no=10000"
Then drop a button and label on a form, with
btn.onclick set to:
sds.open;
label1.caption:=sds.fieldbyname
('description').asstring;
When description contains: "this is a memo",
I get "this is a mem" in the label caption.
Tested with Sybase ASA 8 and Firebird 1.5 - both show
this behaviour. When I use dbxoodbc.dll from ver
3.0.2.3 the memo is returned correctly.
Unfortunately I don't have the old source to do a diff
and try and debug myself.
Ed Blanchard
Logged In: YES
user_id=644745
Fixed in version 3.0.26. Different understanding of ODBC API
for the fetch of text blob. The corrected algorithm supports
different interpretations ...