[Zope] Finding out how many rows is selected in database

Gitte Wange gitte@mmmanager.org
05 Apr 2001 16:12:28 +0200


On 05 Apr 2001 14:51:12 +0100, Phil Harris wrote:
> <dtml-in queryname>
>   Houston we have records
> <dtml-else>
>   No records found>
> </dtml-in>
> 

Okay I forgot one thing - I also need to find out how many rows are
returned.

> 
> ----- Original Message ----- 
> From: "Gitte Wange" <gitte@mmmanager.org>
> To: <zope@zope.org>
> Sent: Thursday, April 05, 2001 2:42 PM
> Subject: [Zope] Finding out how many rows is selected in database
> 
> 
> > How do I do subject ?
> > 
> > I need to do one thing if any rows is returned and another if there is
> > no records in the database
> > 
> > -- 
> > ************************
> > Gitte Wange Jensen
> > 
> > System Squid Developer
> > MMManager Aps
> > +45 29 72 79 72
> > 
> > gitte@mmmanager.org
> > ************************
> > 
> > 
> > _______________________________________________
> > 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 )