[Tutor] odbc
John Corry
john.corry at ntlworld.com
Sat Apr 15 17:03:38 CEST 2006
Kent,
I am not sure what you mean. I am feeling about in the dark on this
subject.
Do you have an example? Among my visual foxpro database files I have a file
called tng.dbc. When I acces the database files through excel, I select the
tng.dbc before I can see the fields in the databases. Is this what I need
to log onto with python first before I access the database file?
Regards,
John.
-----Original Message-----
From: tutor-bounces at python.org [mailto:tutor-bounces at python.org]On
Behalf Of Kent Johnson
Sent: 15 April 2006 15:40
Cc: tutor at python.org
Subject: Re: [Tutor] odbc
John CORRY wrote:
> I have just run the test package within mxODBC. I get the following
result.
> OperationalError: ('IM002', 0, '[Microsoft][ODBC Driver Manager] Data
> source name not found and no default driver specified', 6044)
>
> It gives me the same error that I am experiencing when I run my code.
> Does this mean that I have not installed something that I need or have
> not installed something properly.
Have you configured an ODBC data source for the database you are trying
to access? I don't remember how to do this but I know it was a necessary
step for accessing MS-Access databases from ODBC.
Kent
_______________________________________________
Tutor maillist - Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list