Hello scott-e,
In the version with the while loop, how are you stopping the program? My guess is that you are getting the error but since the error is not being handled at at all in the while loop, you do not realize that the error has occured. One thing you can try is to put the code in a while loop (or foor loop) that only runs once. I'm sure that you will see the error propogate out of the loop and into the error handler.
Take care,
E.Lee
Eric
DE For Life!