Tom Deprez wrote: > <dtml-let position=sequence-item> > <dtml-var expr="position+1">/<dtml-var count-CENTRE_NO> > <dtml-let> how about: <dtml-var "_.getitem('sequence-index',0)+1">/<dtml-var count-CENTRE_NO> cheers, Chris