[Zope] ZSQL method

Tino Wildenhain tino@wildenhain.de
Mon, 03 Apr 2000 21:11:08 +0200


Hi Alessandra,


Alessandra Pessolano wrote:
> 
> I have a problem!!!
> When I make a ZSQL method with an insert, i have the fallowing error: "This was
> not a query"
> My ZSQL method  is the following: GENERE, UFFICIO
> ARGUMENTS: ZSQL method
> INSERT ITNO WS
> (GENERE, UFFICIO)
> (<dtml-sqlvar GENERE type=string>, <dtml-sqlvar UFFICIO type=string> )
> 
> Thank you ALessandra

No, its not an error. Only a status message :-)
It was a statement - not a query. Meaning there is nothing returned by
the
expression what it perfectly alright.

You can use it any time in your dtml-documents or -methods 
with <dtml-call "your_zsql_method(GENERE=genere,UFFICIO=ufficio)">

Best regards
Tino Wildenhain