Hey, I really think by doing db.your_table.insert(id=2,name='test') should override the tables id being inserted to 2 (or whatever you set).
Other wise you have to do: new_row=db.your_table.insert(name='test') db(db.your_table.id==new_row).update(id=2) db.commit() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---