haha. I think we need to add a groupby option to IS_IN_DB.

On Jun 7, 5:16 pm, kike <eacarm...@estudiantes.uci.cu> wrote:
> Hi I need a form to search, and in that form a field with some
> database values, I wrote the following
>
> vul.authors.name.requires=IS_IN_DB(vul,vul.authors.name)
>         f=SQLFORM.factory(vul.authors.name)
>
> that work perfect but my problems is in my database exist several
> authors with the same name, and that code list all of them, how I show
> only one of all of the same name.
>
> thank for your help

Reply via email to