[Zope-DB] Handling no data found condition

Dieter Maurer dieter@handshake.de
Fri, 18 Jan 2002 20:11:14 +0100


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