Hello Annet, Does zero=None works also for ".represent"??
Regards Richard On Wed, Sep 8, 2010 at 1:36 AM, annet <[email protected]> wrote: > Are you sure this is syntactically correct. > > > db.table1.registry_id.requires = > > > IS_NULL_OR(IS_IN_DB(db,'ref_registry.registry_id',db.ref_registry._format)) > > In my table definitions I have: > > db.company.branch.requires=IS_NULL_OR(IS_IN_DB(db,db.branch.id,'% > (name)s',zero=None)) > > ... which works. > > > The syntax you're using doesn't look familiar to me. > > > Kind regards, > > Annet.

