maybe <dtml-call "REQUEST.set('my_var', _['sql_example'])"> works....


On Tuesday 30 January 2001 12:22 pm, Martin Jundt wrote:
> Hi there,
>
> I have got a litte problem with a Z SQL Method "sql_example":
>
>       select count(*) as result from example_DB
>
> I want to put the returned result in a variable:
>
>      <dtml-in sql_example>
>          <dtml-call "REQUEST.set('my_var', result)">
>     </dtml-in>
>
> This works fine.But should something like
>
>       <dtml-call "REQUEST.set('my_var', ['sql_example'])">
>
> work, too?
>
> Thanks
> Martin
>
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> 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 )

-- 
Diego Rodrigo Neufert
Webmaster / Web Developer - Magic Web Design
-----------------------------------------------------------
[EMAIL PROTECTED]
www.magicwebdesign.com.br
Curitiba - PR - Brasil

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to