Thank you for your help and the answer but to make this sort of a blanket statement is really nasty. You have no idea what I am doing with this. Perhaps I just want to learn something. Not only that but there are times when a global variable makes perfect sense. Do you respond the same way when someone brings up the goto statement? Get off your horse buddy.