It is possible to use several items in IS_IN_DB label, but how to use column name from refrence table?
For example 3 tables: type_class (type_class_name) type (type_class_id, type_name) detail (type_id, detail_name) I can do for "requires" in detail table this: requires=IS_IN_DB(db, 'type.id', '%(type_name)s' but how can i include 'type_class_name' there? like: requires=IS_IN_DB(db, 'type.id', '%(type_class_id.type_class_name) --- %(type_name)s' or requires=IS_IN_DB(db, 'type.id', '%(type_class_name) --- %(type_name)s' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---