You need this in addition to the field "id" which is automatically added to every table in web2py, and holds an integer that is auto-incremented?
On Sat, Sep 26, 2009 at 12:53 PM, Leandro - ProfessionalIT < lsever...@gmail.com> wrote: > > Hi, > I need create a field in my table that receive the last value + 1 > when I create a new record. For example to a questions table. In this > table I have a ID and a number of question field. > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---