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

2000-08-14 Thread Tino Wildenhain



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 )




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

2000-08-01 Thread Erik Lacson

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 ?

Thanks,

^..^
Erik


=
erik lacson
net applications developer
president
---
eMerge Network Technology Solutions
intranets * web business * virtual private networks
http://www.emerge-tech.com | [EMAIL PROTECTED]

__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

___
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 )