Gogs
2003-11-07 19:58:52 UTC
Hi All,
We're in the middle of testing our application with SQL Server and
I'm running into a problem. We have a field of data type BLOB in
Interbase and everything is working fine, however the same field is of
type Text in SQL Server and when I'm trying to read this information
from this field into my object of type stringlist I get an error
returned which says ...
"Invalid BLOB handle in record buffer". I've read numerous articles on
changing the size of field BLOBS To Cache or BLOB SIZE but I still get
the same error. This happens immediately after I try to assign the
field to my object so I don't think it's related to the number of
records in my query. I have tried this in Delphi 4 and Delphi 7 and
the outcome is the same.
The command where this fails is
DetailData.Assign(Query.FieldByName('DETAILDATA'));
Can someone please point me in the right direction as to what I need
to do to get this to work, I simply can't find an alternative...
Best Regards
Gogs...
We're in the middle of testing our application with SQL Server and
I'm running into a problem. We have a field of data type BLOB in
Interbase and everything is working fine, however the same field is of
type Text in SQL Server and when I'm trying to read this information
from this field into my object of type stringlist I get an error
returned which says ...
"Invalid BLOB handle in record buffer". I've read numerous articles on
changing the size of field BLOBS To Cache or BLOB SIZE but I still get
the same error. This happens immediately after I try to assign the
field to my object so I don't think it's related to the number of
records in my query. I have tried this in Delphi 4 and Delphi 7 and
the outcome is the same.
The command where this fails is
DetailData.Assign(Query.FieldByName('DETAILDATA'));
Can someone please point me in the right direction as to what I need
to do to get this to work, I simply can't find an alternative...
Best Regards
Gogs...