[Zope] Z SQL Method
Diego Rodrigo Neufert
diego@magicwebdesign.com.br
Tue, 30 Jan 2001 15:43:57 -0200
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 - 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 )
--
Diego Rodrigo Neufert
Webmaster / Web Developer - Magic Web Design
-----------------------------------------------------------
diego@magicwebdesign.com.br
www.magicwebdesign.com.br
Curitiba - PR - Brasil