non-blob fields opening
Posted: 08.04.2008, 17:37
Using 6.6.2, with Firebird 2.03, with protocol=firebird-2.0
I'm using a TzTable to open the sample employee.fdb, but certain tables won't open, giving the error :
"Cannot access blob record in column x with type y"
where x is a column number, and y is a non-blob field (integer or string).
Checking the tables with a third party tool, it seems the fields in question are not blob fields (integer or string).
The exception is raised in 'TZAbstractResultSet.CheckBlobColumn()'.
The table columns are read correctly during the InternalOpen, but by the time TZCachedResultSet.Fetch is processed, the column in question has changed from stString to stBinaryStream.
I'm using a TzTable to open the sample employee.fdb, but certain tables won't open, giving the error :
"Cannot access blob record in column x with type y"
where x is a column number, and y is a non-blob field (integer or string).
Checking the tables with a third party tool, it seems the fields in question are not blob fields (integer or string).
The exception is raised in 'TZAbstractResultSet.CheckBlobColumn()'.
The table columns are read correctly during the InternalOpen, but by the time TZCachedResultSet.Fetch is processed, the column in question has changed from stString to stBinaryStream.