Re: [web2py] Autoincrement field

2010-01-15 Thread Thadeus Burgess
Field('mysecondaryid', 'integer', default=db.table.mysecondaryid + 1) should work. -Thadeus On Fri, Jan 15, 2010 at 7:14 AM, Alexandre Andrade wrote: > by default, web2py creates a 'id' field, it is autoincremented. > > > > 2010/1/15 ceriox > >> hi all, >> i need an autoincremented unic nu

Re: [web2py] Autoincrement field

2010-01-15 Thread Alexandre Andrade
by default, web2py creates a 'id' field, it is autoincremented. 2010/1/15 ceriox > hi all, > i need an autoincremented unic numeric field for make a ticket system > how i can do it? > > thanks for help > > -- > You received this message because you are subscribed to the Google Groups > "web2py

[web2py] Autoincrement field

2010-01-15 Thread ceriox
hi all, i need an autoincremented unic numeric field for make a ticket system how i can do it? thanks for help -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this