Hey Thanks a lot. That was it. I have been so tied down in the ASP relm that I forgot how important declaring objects is. Thanks for your help