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
hpinson@indepthl.com wrote:
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)
Gotta ask, but why are you doing this in DTML? Looks like Python Script territory to me :-) Chris
participants (2)
-
Chris Withers -
hpinson@indepthl.com