[Zope] what if the query gives no records?

2007-04-10 Thread siva k
Hi, A very basic question: a dtml-in loop calls an zsql method it works fine when there is data but when there is no data it should display no records found. But it displays nothing when there are no records. Please suggest a soultion dtml-in select_something(parameter=parameter

Re: [Zope] what if the query gives no records?

2007-04-10 Thread Jonathan
- Original Message - From: siva k [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, April 10, 2007 7:36 AM Subject: [Zope] what if the query gives no records? A very basic question: a dtml-in loop calls an zsql method it works fine when there is data but when there is no data