The following doesn't work. Is it a syntax problem, or is a loop-last based on a scratch value just not going to happen? [loop-last][loop-calc] return 1 if $Scratch->{listing_counter} == 4; [/loop-calc][/loop-last] - Grant