requires = 
IS_IN_DB(db((~db.productSite.productSiteId.belongs(currentItems)) &
                           (db.productSite.availableAddon==True) & 
                           (db.productSite.siteId==workorder.siteId) &
                          
 (db.product.productId==db.productSite.productId)), 
                        db.productSite.productSiteId,
                        '%(productName)s', zero='..')

I get a trace back with this.  If I pull out the '%(productName)s' it 
works.   But, I want to specify the field name to display being a field in 
the table linked by the 4 'anded' query.

Help?

-Jim

-- 

--- 
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