Your code worked for me as well. I am still not sure what the issue was, but I was able to integrate your code into mine to get the app working.

Thank you very much for all your help.