[Zope] querying status in zsql
Rik Hoekstra
rik.hoekstra@inghist.nl
Fri, 10 Nov 2000 21:09:04 +0100
> Thanks for that... Although Im not terribly sure what the magic behind the
> sequence-start is, but it works very well.
>
A short explanation: sql queries return a result object (so does ZCatalog
btw), which you can't address directly in DTML (or at least I wouldn't know
how ;-) If it the result object is empty it won't have a (sequence) start
in a dtml-in. This is the same code SearchInterfaces uses for returning a
'this query has no results'.
Rik