[Zope] re: DTML Loop Interation

hpinson@indepthl.com hpinson@indepthl.com
Thu, 17 Jul 2003 13:05:24 -0600


Ah, the answer never fails to appear a minute after you ask the 
question:

<dtml-in "_.range(0,9,1)">

  <dtml-in expr="SQL_getSubject(subject_id=3,standard_no=_['sequence-
number'])">
     Display stuff from query...
  </dtml-in>
  
</dtml-in>

Where _['sequence-number'] replaces counter

Maybe this solution will help someone else.   :o)

Harlow Pinson
Indepth Learning
Email: hpinson@indepthl.com 
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678