Floyd May a écrit :

You can do it like this (inside the query):
--------------8<------------------------
<dtml-if description>
WHERE description = <dtml-sqlvar description type="string">
</dtml-if>
--------------8<------------------------
Or like this:

<dtml-sqlgroup where>
<dtml-if description>
 <dtml-sqltest description type=string>
</dtml-if>
</dtml-sqlgroup>

--
Bertrand Croq - FreesKop - Avenue Robert Schuman - 35170 BRUZ
http://www.freeskop.com/ - Tel: 02 99 05 04 56 - Fax: 02 99 05 96 40

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to