Joost van der Sluis wrote:
It sounds strange to me the phrase "All things above do work", mr. Joost. Would I lose a pointer during the conversations?

DB2 is another story as the other natively supported databases (mysql
4.0, 4.1, 5.0, Firebird, PostgreSQL and Oracle). The ODBC-connection is
not as powerfull as the others. And in your case, you were using a
datatype that isn't supported. Obviously ODBC can handle it, or else it
also woudn't work on other ODBC applications, but I don't have any idea
how to implement that. But I thought that some others (Bram - the author
of the ODBC-connection) was looking at it?

Yes, I will take a look at the possibilities to accurately translate the DB2 
TIMESTAMP through both ODBC and TField's capabilities. (add here: and 
investigate the need to implement the TTimeStamp descendant)

At the moment I'm very busy and I don't have much time improving the 
ODBCConnection, so it might take some time. There are some features on my 
wish-list, and I will implement them in time. I don't need all functionality 
for the application I primarily created the ODBCConnection for, but I'd like to 
extend the component such that other people can also use it for other purposes. 
I'm happy with any feedback about things not working, or feature requests, but 
I can't promise when I'll have time to implement something new.

BTW, I will try to implement reading BLOB fields within a few weeks. There only 
is a small problem with that at the moment: I need to implement in 
TODBCConnection the function

 function CreateBlobStream(Field:TField; Mode:TBlobStreamMode):TStream;

However, I need the TSQLHandle here (for the ODBC API call), not the 
TSQLConnection, where it is a method of. I think the Handle should be passed as 
an additional parameter. Or is there some way to (correctly) get the TSQLHandle 
from the Field parameter?

Another thought on the problems Arí has with update queries and 
TODBCConnection: as I need only read access, I never implemented 
UpdateIndexDefs; might that be required?

Regards,

Bram

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to