[Zope] dynamically change sql query in zope?

Alexander Tuchacek atuc@gmx.de
Fri, 05 Oct 2001 13:45:23 +0200


hallo,

i would like to dynamically change the search where field in the sql query 
in zope. when i do this, zope interpretes the variable FIELD as string. is 
there a way to dynamically change a sql query?

thanks for any help,
alex

--------------
FIELD
S_TITLE1


select * from Annotation
WHERE
<dtml-sqlvar FIELD type=string> = <dtml-sqlvar S_TITLE1 type=string>