Yes, I suspected as much…I had already taken that out in my new code.
Your query works a treat, thank you very much…my unfamiliarity with this side of coding got the better of me. I will have a more sleep filled weekend.
From here, time to learn about Shiny and Dashboards!