Author: Roger Gammans
Posted: 2009-07-06 at 10:49:22
On Fri, Jul 03, 2009 at 03:32:40PM +0100, Roger Gammans wrote:
> On Fri, Jul 03, 2009 at 08:14:41AM -0500, Ed Leafe wrote:
> > code along these lines, but I'll be happy to assist you wherever
> > possible; take a look at the db/dbTemplate.py, which is intended to be
> > the template for new backend connection scripts.
>
> Cool. I found that while I was waiting for a reply so it looks
> good.
>
> I've got a start point here I'm about to test.
Ok, What I've done pass my basic tests, (eg, calling
the new class directely gets sensible results. I now
have to try it in action.
(
My development is is here http://hg.backslashat.org/repos/dabo-odbc
current new module is at: -
http://hg.backslashat.org/repos/dabo-odbc/file/807cb91fc495/dabo/db/dbOdbc.py
)
I can forsee a slight problem with creating the connection as
Odbc connections all require either a Driver of a DSN parameter
entry. Neither of which are in known by dConnectInfo.
Do I need to teach it about these? And is athere any where else
that needs two know about these extra parameters?
TTFN
--
Roger. Home| http://www.sandman.uklinux.net/
Master of Peng Shui. (Ancient oriental art of Penguin Arranging)
Work|Independent Sys Consultant | http://www.computer-surgery.co.uk/
New key Fpr: 72AF 0ACC 9A53 E59F B1B6 DC14 1983 A13E 5C3D 3CEB