> > > IS_IN_DB(db, db.regions.id, lambda r: XML(r.region), > orderby='sort_order',multiple > =True) > > That should do what you want and is simpler than my earlier solution >
Great stuff, Anthony. It does indeed achieve the same result and is cleaner when applying to multiple different fields. Thanks for your assistance. --