[Zope] how to skip duplicate zsql results?
Michael Long
mlong@datalong.com
30 Jul 2003 09:13:59 -0400
Change your query to read *select distinct * from table*
Cheers,
Mike
On Wed, 2003-07-30 at 00:00, Wayne Connolly wrote:
> i have a simple zsql (select * from table) which
> returns a list of items.
>
> The problem is that it returns identical items. Ie
> 1. item 1
> 2. item 1
> 3. item 2
>
> How can i make it skip/omit the second duplicate
> entry. Below is the code.
>
> <SELECT name="item">
> <OPTION tal:repeat="table here/getTableMethod"><SPAN
> tal:replace="table/item">Some Item</SPAN></OPTION>
> </SELECT>
>
> Thanks,
> Wayne
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>