untested in this form: <dtml-call "REQUEST.set('recs',queryname())"> <dtml-var "_.len(recs)"> <dtml-in recs> </dtml-in> ----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: "Phil Harris" <phil.harris@zope.co.uk> Cc: <zope@zope.org> Sent: Thursday, April 05, 2001 3:12 PM Subject: Re: [Zope] Finding out how many rows is selected in database
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 )