On 10 July 2012 01:09, MichaelF <mjfs...@gmail.com> wrote:

>
>    lambda r: '%s' % (db.I1[db.C1_2[r.C1_2].I1].Name),
>    _and=IS_NOT_IN_DB(db(db.C1_2_3.C1_2==request.vars.C1_2), 'C1_2_3.C3'))
> db.C1_2_3.C1_2.requires=IS_IN_DB(db, 'C1_2.id',
>
> ...

> 1. Am I even allowed to have a lambda function there?
> 2. In any case, how can I get the drop-down to show me I1.Name?
>

I would try the following:

A separate function to do what you tried to do in your lambda.
Let the lambda call that function which returns the value you want .

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply via email to