[Zope] count of items in group?
Martijn Pieters
mj@antraciet.nl
Wed, 03 Mar 1999 14:37:04 +0100
At 14:01 03/03/99 , julian@zereau.net wrote:
>Using the "in" tag's grouping capability, is there any way to get the count of
>items in that group? I need this so I can have a table with one row per item
>and a cell rowspanned for all the group's items (eg: related products and
their
>picture).
>
No, there isn't. You will have to use the SQL statement, to add a calculated
value column to it's output. You should be able to use COUNT to achieve this.
--
M.J. Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------