[Zope] Deleting data using ZSQL

technews@egsx.com technews@egsx.com
Thu, 28 Sep 2000 23:17:03 -0400 (EDT)


I am writing a dtml method that deletes data from a database, and I found
myself unable to do this.  It seems that ZSQL is used to insert, update
and query a database. but can not use
"delete from table where var=<dtml-var foo>"

I am surprised at this behaviour.  Am I doing somehting worng? or this is
how it works?  Is there any information on how to do this somewhere???

Thanks in advance.

Adonis El Fakih - President, CEO -- EGS, Inc.
70 Boston Road, Suite A301, Chelmsford MA 01824 USA
Fax (978) 244-0544 - adonis@egsx.com