[Zope-DB] Handling no data found condition

Mike Guerrero mguerrero@tachyon.net
Fri, 25 Jan 2002 10:05:01 -0800


Dieter,

That worked perfectly.  Thanks so much.

Mike

-----Original Message-----
From: Dieter Maurer [mailto:dieter@handshake.de]
Sent: Friday, January 18, 2002 11:11 AM
To: mguerrero@tachyon.net
Cc: zope-db@zope.org
Subject: Re: [Zope-DB] Handling no data found condition


Mike Guerrero writes:
 > ...
 > My problem is that when a user enters an id and no data id found for that
id
 > the results pages is display with no data and all of the fields out of
 > alignment.
<dtml-let result=SQL_result>
  <dtml-if result>
      .... what you do now ....
  <dtml-else>
      say something about "id" not found
  </dtml-if>
</dtml-let>


Dieter