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

Phil Harris phil.harris@zope.co.uk
Thu, 5 Apr 2001 14:51:12 +0100


<dtml-in queryname>
  Houston we have records
<dtml-else>
  No records found>
</dtml-in>


----- 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 )