If I use reference table in a field then the search shows a dropdown of the 
referenced table but in the following case it does not.

    Field('industry',
        requires=IS_EMPTY_OR(IS_IN_DB(db,db.industry.id,'%(name)s')),
        represent=lambda id, r: db.industry[id].name if id else ""),


What changes do I have to make to ensure that the search shows a dropdown 
box of the referenced table?

Regards, Edwin.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to