[Tutor] ODBC problem
ali mangaliag
rmangaliag@slu.edu.ph
Sun Jun 22 23:01:00 2003
>>> import odbc
> >>> odbc.odbc("Driver=Microsoft Visual FoxPro
> Driver;SourceType=DBF;SourceDB=j:\\samis\\academy;Exclusive=No")
> Traceback (most recent call last):
> File "<interactive input>", line 1, in ?
> dbi.internal-error: [Microsoft][ODBC Driver Manager] Invalid string or
> buffer length in LOGIN
>
i came accross the same problem before...
try using the old way of making connection strings...
odbc.odbc("dsn/user/password")