Thanks Ron but I've don't understand your answer, and I've don't find 
anything about this question page 84 of the web2py_manual_5th.pdf book.

Anyway I can imagine the solution is crawling all searchable fields in all 
tables, saving in the for loop all rows references (function/args), and 
displaying a link list.
 

Il giorno lunedì 9 marzo 2015 19:08:32 UTC+1, Ron Chatterjee ha scritto:
>
> SQLFORM.build_query[(db.table.field)]
>
> Passing a list ([]) into that will give you a text in that field. and then 
> you can use a form input to do the display like the book on page 84 on the 
> book. Damn I am getting good at this!
>
> On Monday, March 9, 2015 at 1:44:23 PM UTC-4, Gael Princivalle wrote:
>>
>> Sure.
>>
>> The search field at the top:
>> http://www.chainreactioncycles.com/us/en
>>
>>
>> Il giorno lunedì 9 marzo 2015 17:47:09 UTC+1, Ron Chatterjee ha scritto:
>>>
>>> Can you give an example of "global Search". Any reference site?
>>>
>>> On Monday, March 9, 2015 at 12:18:54 PM UTC-4, Gael Princivalle wrote:
>>>>
>>>> Hello all.
>>>>
>>>> I would like to add a global search form in a website, the classical 
>>>> one with one field and a search button.
>>>> I've got some idea's about how doing it, but I would like to know if 
>>>> there's an example on line, or if someone have some suggestions.
>>>>
>>>> Thanks.
>>>>
>>>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to