Art Protin wrote: > Dear folks, > In the option method for cursors, .scroll(), in mode == 'absolute', > does the target position start at 1 or at 0? I assumed 0.
Right. Note that the row number indicates the index of the next row a .fetchxxx() call will fetch. cursor.scroll(0, 'absolute') will thus position the cursor just before the first row in the result set. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Nov 07 2006) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: _______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig