On 24 May 2011 11:54, Johann Spies <johann.sp...@gmail.com> wrote: > Truncated model: > > db.define_table('akb_doccenter', > Field('doc_nr', type='string', length=50, > requires=IS_NOT_IN_DB(db, 'doccenter.doc_nr')), > > Copy and paste mistake:
This line should refer to akb_doccenter.doc_nr and not doccenter.doc_nr which belongs to a different table. Apologies for the noise. Regards Johann -- May grace and peace be yours in abundance through the full knowledge of God and of Jesus our Lord! His divine power has given us everything we need for life and godliness through the full knowledge of the one who called us by his own glory and excellence. 2 Pet. 1:2b,3a