<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>does somebody knows how to get next iterations of 
columns from SQL query? I think that is only due my unknowledge of right 
pythonic syntax.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>&lt;dtml-let vypisSQL_LET="vypisSQL()"&gt; -- ZSQL method results 
catch</DIV>
<DIV>&lt;dtml-in vypisSQL_LET prefix="listing"&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>current value: &lt;dtml-var column&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>next value: </FONT><FONT face=Arial 
size=2>&lt;dtml-var "vypisSQL_LET.column[listing_number]"&gt; --&nbsp;here is an 
error</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>&lt;/dtml-in&gt;<BR></FONT><FONT face=Arial 
size=2>&lt;/dtml-let&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Do you have some ideas how to get next value, 
please?</FONT><FONT face=Arial><FONT size=2></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>It is possible to do with fill ['','',''....] 
fields or with memorizing/display&nbsp;last&nbsp;values as a main result, but it 
is not what I want, it is quite large sequence and ### 
columns.</DIV></FONT></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Many thanks, JL.</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>