[web2py] Re: A newbie question about update_or_insert

2013-11-06 Thread Andreas Wienes
I get the point. Thanks for your quick reply! - Andreas Am Mittwoch, 6. November 2013 23:44:14 UTC+1 schrieb Cliff Kachinske: > > form.process does the insertion, so your call to update_or_insert is too > late. > > how about this? > db.define_table('name' Field('name', unique=True, requires=IS_N

[web2py] Re: A newbie question about update_or_insert

2013-11-06 Thread Cliff Kachinske
form.process does the insertion, so your call to update_or_insert is too late. how about this? db.define_table('name' Field('name', unique=True, requires=IS_NOT_IN_DB(... Look in the "Forms and Validators" chapter of the online manual for the correct syntax for IS_NOT_IN_DB. Look in the "Databa