simonwestb (9/3/2012)
Excellent! That's exactly what I needed. Thank you.
Now all you have to do is to make sure no one can pull any SQL Injection on you. And, yeah... there are [font="Arial Black"]LOTS [/font]of articles on that subject because so many people have been nailed by it on things just like this.
I can help avoid SQL Injection on the comma delimited string of numbers but what goes into "CLocation.Text"? And, yeah... I'm strongly recommending that you DON'T use that code until you make it bullet proof. It's just waiting to be attacked.
--Jeff Moden
Change is inevitable... Change for the better is not.