Good Morning to All,

Can anyone help me to connect pyodbc to foxpro table.
Below code can't works.


import pyodbc
cnxn = pyodbc.connect("DSN=sls_detl")

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    cnxn = pyodbc.connect("DSN=sls_detl")
Error: ('S1000', "[S1000] [Microsoft][ODBC Visual FoxPro Driver]File is not 
open. (113) (SQLDriverConnectW); [01000] [Microsoft][ODBC Driver Manager] The 
driver doesn't support the version of ODBC behavior that the application 
requested (see SQLSetEnvAttr). (0)")


T.q
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to