Thanks for all of your help, James. BTW, do you know if there is a limitation on the # of input parameters that can be passed in one statement? I have a statement in particular that will require about 13 parameters.
I'm surprised there isn't an easier (excuse my laziness

) to build a dynamic query while doing string comparisons. Now I wish all of my comparisons were based around numbers.