[Zope] ZSQL Advice needed - no results, one match, multiple matches

Dieter Maurer dieter@handshake.de
Fri, 23 Mar 2001 20:18:21 +0100 (CET)


sdduncan@indiana.edu writes:
 > 
 > I would like to query a mysql database ....
 > ....
 > If there are no matches I want to print out that fact
 > IF there is one match I want to display the results of an sql query
 > based on the personID
You will find an example in

  URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html

It is Example 3.14 in section DTML -> Commands -> let.



Dieter