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.

Reply via email to