[Zope] no data matching query

Martin Hofer hofer@oeh.tu-graz.ac.at
Wed, 8 Dec 1999 15:05:52 +0100 (CET)


hi out there,

is it possible to test if a database-query returned data or not?
i'm not interested in the result - data, only if there where one or more
rows matching the query...

another simple question:
is there a more simple possibility to get only the first query-match than:

<dtml-in dataquery size=1 orphan=1>

...
</dtml-in>

thanx in advance!

martin hofer

------------------------------------------
o      EDV-Referent an der HTU-GRAZ      o
------------------------------------------

Rechbauerstrasse 12
4010 Graz - Austria
                            
mail: hofer@oeh.tu-graz.ac.at           
tel: +43/0316 873-5109         |   _|_
fax: +43/0316 873-5115         |__  |  
mobil: +43/0699-1016 1847      |  | | |  |
internet: oeh.tu-graz.ac.at    |  | | |__|