[Zope] dtml-in: total??

Jonothan Farr jfarr@real.com
Tue, 2 Jan 2001 13:10:21 -0800


<dtml-var sequence-length>

----- Original Message ----- 
From: "Edwin Martin" <e.j.martin@chello.nl>
To: <zope@zope.org>
Sent: Tuesday, January 02, 2001 7:23 AM
Subject: [Zope] dtml-in: total??


> Hello,
> 
> I'm making a generic DTML-method which shows a bar like
> AltaVista does:
> 
> [ < previous] [1] [2] [3] [4] [next > ]
> 
> I need to know the number of rows the database returned.
> 
> In appendix A of the Zope book, I see I can use total-name etc.
> 
> How can I get the total number of rows, independent of
> column names?
> 
> Can I do it without rewriting the SQL-queries?
> 
> Bye,
> Edwin Martin.
> 
> ---
> The world is moving so fast these days that the person who says
> it can't be done is generally interrupted by someone doing it.
>   -- Harry Emerson Fosdick
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
>