I am using pysqlite2 to access sqlite DB.

from pysqlite2 import dbapi2 as sqlite
conn = sqlite.connect("db1.db")
cur = conn.cursor()
cur.execute(<SQL QUERY>)
cur.fetchone() # get one record
cur.fetchone() # get next record
conn.close()


2007/2/20, Adriano <[EMAIL PROTECTED]>:

"SELECT * FROM mytable WHERE NameField = '"" & Name & """"
Set r= db.execute(cmd)
if i'd like to read next record in the same table how to do ?
I use last version of sqlite avaible.
Thanks
Adriano


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]

-----------------------------------------------------------------------------




--
powered by python

Reply via email to