--- Valérie Aulnette <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using PTK and it does work with ZCatalog.
> I need to do the list of values that are in the
> catalog but I need do do like a "select distinct"
> in
> SQL to have each value only once.
> Do you know how to do that in ZCatalog ?
>
> Thanks.
> Valerie.
>
>
For fieldindexes there is a catalog method
uniqueValuesFor(name) which when passed the name of
the index returns the unique values within it.
hth,
=====
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`----------------->
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )