if field.kind == dtTime:
tm1=getLocalTime(getTime())+field
This raises compile time error: "Error: type mismatch: got (TimeInfo, SQLData)" It looks like there is some inconsistency with ODBC module, or (maybe) somewhere else, causing "field" to be of some incompatible type.
