Thanks Andreas, I think I get it now after getting it spoon fed to me from Roberto (which I greatly appreciate). Thanks all and have a great rest of the weekend for tomorrow is Monday.<br><br>Peace and take care,<br>Muk Yan
<br><br><div><span class="gmail_quote">On 8/6/06, <b class="gmail_sendername">Andreas Jung</b> <<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>--On 6. August 2006 15:13:33 -0400 Muk Yan <<a href="mailto:myan@umich.edu">myan@umich.edu</a>> wrote:<br><br>> Thanks Andreas, sorry about the confusion.<br>><br>> What I want to do is call the ZSQL Method from a Python script instead of
<br>> from a DTML Document or Method. I want to know if there's a way to<br>> provide<br>> arguments from the Python Script to ZSQL Methods with Updates and Inserts.<br>><br>><br>> I want to avoid using <dtml-sqlvar emp_id type=string>.
<br><br>Huh? <dtml-sqlvar...> is only used inside the *ZSQL* method. A ZSQL method<br>is a first-class object in Zope and can be called from DTMl, PythonScripts,<br>ZPT, external methods, filesystem code ... an object is an object is an
<br>object ....and can be called from always basically in the same way...so<br>where is the problem?<br><br>-aj<br><br><br></blockquote></div><br>