Hmmm ... weird. At first I thought maybe it was something screwy with the foreach (because I usually use just plain old for), so I tried it myself and I *thought* it had worked fine. That's when I posted my previous reply.
So, I tried it again, this time with a few more iterations in my loop. Lo and behold, there *is* a bug with foreach!!!! (At least I consider it a bug). It works as you would expect with a for loop (skips to the beginning of the loop and continues), but with the foreach, it totally stops and exits the loop. NOT INTUITIVE BEHAVIOR, IMHO!!
Anybody else consider this a bug?!?!?
~~Bonnie
>Bonnie,
>
>Yes, I'm saying it didn't work. There are no other loops in the code.
>
>Thanks.
>
>Linda