> The full result of sql-error is: > ("HY010" 0 "[Microsoft][ODBC Driver Manager] Function sequence error") Now I remember (belatedly) what the solution is -- I think. You need to run set-env-attr with 'sql-attr-odbc-version and 'sql-ov-odbc3 before allocating the connection handle. Obvious, right? :-) I'll add this tip to the doc.txt file. -- Paul