Hi All,

newbie in python and stuck on creating a query from a sqlform() suitable to 
use for querying multiple table and returning in a datagrid.



Each drop down is connected to a unique table -> I would like on submit to 
used the request.vars and pass these in a query to return the data grid 
like -

select * from paymenttype, supplier, tariff, tariffrate 
where
paymenttype.id = request.vars(paymenttype) and 
tariffrate.rate<request.vars(tariffrate)

Any pointers / ideas?

Cheers

Ross

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to