You can use SQLFORM.search_menu([list of fields]) to build the search menu, 
and once the search is submitted, you can use SQLFORM.build_set([list of 
fields], keywords=request.vars.keywords) to get the DAL Set object 
associated with the search.

Anthony

On Saturday, March 30, 2013 7:05:17 PM UTC-4, Jake Lowen wrote:
>
> I like the way that SQLFORM.grid search works. Once I've searched for 
> records and come up with the set I want, How can I pass that set off to 
> another function to do work just on those filtered records?   Or in other 
> words.. if I have 100 records, and I use the grid search to narrow it down 
> to 15... how can I pass just those 15 records to another controller 
> function?
>
> Is it possible to get at the matching records in the grid as is or do I 
> need to build another search tool?
>
> Thanks!
>

-- 

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