[PDO-Users]problem with recordset's first() and last() methods
pythondbo-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Thu, 23 Mar 2006 22:30:08 -0800 (PST)
| Newsgroups | gmane.comp.python.db.pdo.user |
|---|---|
| Message-ID | <[email protected]> |
--0-577529328-1143181808=:35593 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi =20 With pdbo 1.31 -- mysqldb 1.2.0 -- python 2.3 -- mysql 5.019 on win98 I have this experience: After issuing first() or last() on a recordset, the fields['name'].val= ue returns the field's value for the last accessed record, not for the a= ctual one. =20 moveto() and next() works well. =20 What's the problem? =20 Thanks Endre =20 =20 =20 =20 =20 =09 --------------------------------- Blab-away for as little as 1=A2/min. Make PC-to-Phone Calls using Yahoo!= Messenger with Voice. --0-577529328-1143181808=:35593 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi<br> <br> With pdbo 1.31 -- mysqldb 1.2.0 -- python 2.3 -- mysql 5.01= 9 on win98<br> I have this experience:<br> After issuing first() or las= t() on a recordset, the fields['name'].value returns the field's value f= or the last accessed record, not for the actual one.<br> <br> moveto()= and next() works well.<br> <br> What's the problem?<br> <br> Thanks<= br> Endre<br> <br> <br> <br> <br> <p> <hr size=3D1>Blab-away for as little as 1=A2/min. Make <a href=3D"http:= //us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=3D= 39663/*http://voice.yahoo.com"> PC-to-Phone Calls</a> using Yahoo! Messen= ger with Voice. --0-577529328-1143181808=:35593-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642