monks wrote:

> 
> hello all
> Im trying to call ZSQL method with 1 argument from my Python script like:
>        " context.Intranet(end_dt=end_a1) "
> Isn't this the right way to call ??

Yes ...

> Also, without arguments, its working fine !!

So it would appear you don't actually have any arguments, because if I
execute a ZSQL methd that _has_ an argument (even if there's no
corresponding <dtml-sqlvar> tag in the query), I get a ProgrammingError. 
otoh, if I execute a query with a <dtml-sqlvar> tag, and no argument, I get
a ValueError.

Are you sure you're acquiring the ZSQL in the right context?
-- 
derek


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to