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
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )