db.xref.b.requires=IS_IN_DB(db(db.x.id!=request.vars.a),'x.id','%(id) s')
On Mar 1, 2:01 am, weheh <[email protected]> wrote: > To be more explicit, for a given xref record, field xref.b can be any > of x.id as long as xref.b is not equal to xref.a. xref.a can be any of > x.id, too. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

