Thanks! I forgot all about that. I had it in my original code, but when I started working on the client project, I accidently saved the form over the old one, so I had to rebuild the server from memory, and I forgot that part of the code. Now it's working like a charm!