everything looks right to me except for orderby=(_format') You must orderby a field. If the _format is more complex than a single field I suggest you give an extra field to ref_fnaregistry that is automatically computed and stores the format.
On Sep 7, 11:26 am, Richard Vézina <[email protected]> wrote: > Hello Massimo, > > Is there a way to do something like this : > > db.ref_vregistry.fnaregistry_id.requires = > IS_IN_DB(db,'ref_fnaregistry.fnaregistry_id',db.ref_fnaregistry._format,orderby=('_format')) > > ? > > Richard

