I'm trying to do something in a DTML-Method (in ancient Zope 2.6.2)
that seems like it should be really simple, but I can't get it right.
I want to see if a value (defined via url-arg) is in a list which is
generated from an RDBMS query (field type=integer).
The pseudo-code would be something like:
if foo in (select foo_col from table where x=y)
I tried putting the simple SELECT query into a zSql and then calling it like:
<dtml-if expr="foo in foo_list">
But that doesn't work.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -