[Zope] sql method call not working

Aseem Mohanty aseem@neurobehavioralsystems.com
Thu, 13 Jun 2002 22:41:08 -0700


If it has any arguments you need to specify those... 
sql_method(arg1=...,arg2=...)
afaik if there are no args, you still need those '( )'

hth

AM
Kelley, Sean wrote:

>Hi,
>I am trying to call a simple sql method to insert data from a form.  Does
>not work.  I have used this same way of doing it before and cannot see the
>problem.  I can test the sql method and that works, but calling it from the
>html doc does not work.  I can comment out the call and insert some html and
>that works ok also.
>
><dtml-try> 
>  <dtml-call name="plancheck_insert">
><dtml-except>
>   <br>Sorry, your IW Plan Check Entry was not added to the database because
>an error occurred.
></dtml-try>
>
>I get the exception message.  Do you see a reason why this might not work?
>I looked at persmissions, spelling, etc.  
>
>Sean Kelley
>Technology Coordinator
>Utilities Dept.
>City of Santa Rosa
>
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================