If you don't want to do that, try this FAQ. faq183-6466
The WHILE Loop should help you out.
Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"