[Zope] ZSQL - multiple inserts to multiple tables in one query.
Tim Wilson
wilson@visi.com
Tue, 24 Sep 2002 20:09:15 -0500
On Wed, Sep 25, 2002 at 01:39:16AM +0100, Dan Jacobs wrote:
>
> This looks really useful, next question. How do I call it from a DTML
> method?
As long as REQUEST contains the relevant information, you just call the
ZSQL method like this:
<dtml-call expr="qry_insertEvent()">
I use the Formulator product to build my add form, but that's the line
that does the actual call to the insert query.
-Tim
--
Tim Wilson | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.org | http://www.zope.com
W. St. Paul, MN | | http://slashdot.org
wilson@visi.com | <dtml-var pithy_quote> | http://linux.com