to continue, after finger trouble...

                      .select(distinct=distinct,
with arg    distinct=False in __init--


another less useful suggestion is to optionally allow the search on
any part of the string, rather than just the beginning.
            rows = self.db(field.like('%'+
self.request.vars[self.keyword]+'%'))\

the autocomplete list is a little strange looking at first, but still
delivers useful results, especially if there are a lot of strings with
the same long startswith.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to