conecting with a MsAcces DB by dao

Iain King iainking at gmail.com
Fri Jun 30 06:59:05 EDT 2006


luis wrote:
> Iain King ha escrito:
>
> > luis wrote:
> > >       while not rs.EOF:
> > >          id=rs.Fields(colName.Value) #colName, valid column name
> > >          ...
> > >       rs.MoveNext()
> > >       rs.Close()
> > >       conn.Close()
> >
> > I don't know if it's the problem your asking about, but your
> > rs.MoveNext() should be inside the while loop, no?
> Yes, is inside
> >

You mean, it is inside the while loop in your code, but you made a
mistake copying it into your post?  In the code you posted it is not
inside the while loop - it would have to be indented one more level for
that.

Iain




More information about the Python-list mailing list