Two questions

Timothy Grant tjg at avalongroup.net
Tue Apr 4 20:25:01 EDT 2000


Bjorn Pettersen wrote:

> In the control panel there should be a Odbc 32 control (should be
> installed with ms access).  It has a simple point-and-click interface
> where you have to choose the ms access driver, give the filename for the
> database, and choose a DSN (Data Source Name?).  The DSN is what you use
> to connect with.

OK, So I've created a system level DSN named TestDB and pointed it at an
MDB file my server.

When I do the following in the interactive window...

import ODBC.Windows

db = ODBC.Windows.Connect('TestDB')

...I get the following error...

NotSupportedError: ('IM001', 0, '[Microsoft][ODBC Driver Manager] Driver
does not support this function', 4226)

What am I doing wrong?

-- 
Stand Fast,
    tjg.

Timothy Grant                         tjg at exceptionalminds.com
Chief Technology Officer              www.exceptionalminds.com
Red Hat Certified Engineer                      (503) 246-3630
Avalon Technology Group, Inc.              fax  (503) 246-3124
>>>>>>>>>>>>Linux...Because rebooting isn't normal<<<<<<<<<<<<




More information about the Python-list mailing list