[Zope] Help!! RE:mutilple select forms and ZSQL Method

Tino Wildenhain tino@wildenhain.de
Mon, 14 Aug 2000 11:13:06 +0200


Erik Lacson wrote:
> 
> We are trying to insert an values from a multiple
> select form into an SQL Database. Does anyone know
> how to handle arguments of type 'list' inside an
> SQL Method ?

You could use <dtml-in> over the argument or
<dtml-var "_.string.join(argument),' something between the values in the
statement') > ...
But note, there might be anything inside the variable which would 
not be properly sql-quotet this way. Can be very securety riscy.

Regards
Tino Wildenhain