items=db(db.dataitems.templatename==session.templatename).select(db.dataitems.ALL)
item=filter(lambda item: item.id==r.itemid, items)[0]
item.delete_record()

This deletes the record from the database but not from the local Rows
object. If I try to delete the item it says the Rows object does not
support deletion. Is there a way to delete the row from my local Rows
object or do I need to reread the Rows from the database each time I
delete a row from the database.

Reply via email to