Thanks for the reply all. I will have to create some kind of logging system to see where it is exiting. At least I don't have to refactor 2 years of coding. Bob S