On Friday, July 15, 2011 12:27:19 PM UTC-4, Anthony wrote: > > The table format string/function should be stored in its ._format > attribute, so you might also be able to do: > > db.audienceInstances.instances.requires=IS_IN_DB(db(db.instance.type==auth.user.product), > > 'instance.id',db.instance._format,multiple=True) > In fact, it looks like this is what the DAL does by default -- but since you have overridden the default validator, you have to specify db.instance._format explicitly. Anthony
- [web2py] multiselect with part of a table Nicolas Palumbo
- [web2py] Re: multiselect with part of a table Nicolas Palumbo
- [web2py] Re: multiselect with part of a table Anthony
- Re: [web2py] Re: multiselect with part of a table Nicolas Palumbo
- Re: [web2py] Re: multiselect with part of a t... Nicolas Palumbo
- Re: [web2py] Re: multiselect with part of... Anthony
- Re: [web2py] Re: multiselect with pa... Anthony
- Re: [web2py] Re: multiselect wit... Nicolas Palumbo
- Re: [web2py] Re: multiselect... Nicolas Palumbo
- Re: [web2py] Re: multiselect... Nicolas Palumbo
- Re: [web2py] Re: multiselect... Nicolas Palumbo
- Re: [web2py] Re: multiselect... howesc
- Re: [web2py] Re: multiselect... Nicolas Palumbo
- Re: [web2py] Re: multiselect... Nicolas Palumbo