>Thank you. I always take in any advice anyone is willing to offer. The databases I build and maintain were adopted by me about six months ago, so the code we are talking about here was not written by me. I am always open ears for improvements.
I had a brief experience of working with legacy style code and I feel your pain. But going forward you may want to write it in a proper way to ease maintenance.
If it's not broken, fix it until it is.
My Blog