[unixODBC-support] Primary Keys in OpenOffice

Nick Gorham nick.gorham at easysoft.com
Mon Jan 3 22:35:41 GMT 2005

Eric Sharkey wrote:

> <>Nick, and others, thanks for your help. This issue is now resolved.
> OpenOffice tries to get the numeric datatype code from the results of
> an SQLTypeInfo call by calling SQLGetData with the old ODBC 2.x datatype
> of SQL_C_SHORT, and my driver only had support for SQL_C_USHORT
> With this fixed, I can now set a primary key.

Good, well found. Its often the way with driver writing that the fix is 
often nowhere near the problem :-)


More information about the unixODBC-support mailing list