[Zope] name error : global name 'day' is not defined

Max M maxm@mxm.dk
Tue, 19 Mar 2002 17:39:14 +0000


Hamzal Kamal wrote:

>I was able to get value for variable 'day' from my table through
>this:
>
><dtml-in SQLgetDay>
>       <dtml-call "REQUEST.set('day', day)">
>       <dtml-var day>
></dtml-in>
>
>This actually displayed the value of day with <dtml-var day> on this
>page.
>

You are iterating over a list of objects, and every time you set 'day' 
in the REQUEST object. Are you shure that it also happens correctly with 
the last object?

regards Max M