[Zope] newbie question: parameter passing for ZSQL Object

Graham Chiu anon_emouse@hotmail.com
Fri, 26 May 2000 19:17:20 +1300


In article <4.3.2.20000526083542.00af2160@mail.isp.lu>, zope
<zope@isp.lu> writes
>My Z SQL method'insertItem' looks like
>
>Arguments: param1, param2, param3, param4
>
>INSERT INTO plan
>(field1, field2, field3, field4)
>VALUES
>(<dtml-var param1>, <dtml-var param2>, <dtml-var param3>, <dtml-var param4>)

Insert into plan ( field1, field2, field3 field4 ) values (
<dtml-sqlvar param1 type=int>,
<dtml-sqlvar param2 type=int>,
<dtml-sqlvar param3 type=int>,
<dtml-sqlvar param4 type=int>
)

<dtml-call "insertItem(param1=param1, param2=param2, param3=param3,
param4 )">


-- 
Regards,  Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope