Aw, shucks. Consider this a feature request, then!
Apparently there is an older extension from Tom Muck that purports to do this sort of looping, however. I may look into that one.
Thanks for the prompt reply, Ray. WebAssist really puts out some top-notch extensions, and offers excellent support to boot. That's hard to find these days.