David
Thanks for your help that worked perfect. After looking at their code, I had changed most of the variables to integers vice long and still received the errors. Was it the "@" in the declare that was messing it up? I hope to have to get a better understanding of where I went wrong. Anyway thanks again for your help.
Kirk