Since the value of the multi-select results in a comma-delimited list (if more than one is chosen), then after the form is submitted and before the data is processed, do a REreplace() on that value. Using RegEx, you can change the commas that DON'T have a space after them into another character (like a pipe | ) and use the other character as the list delimiter inside the CFQUERYPARAM tag.
So, if the value from the form is:
abc, inc.,xyz, inc.,123, inc.
Then the regex would be looking for a comma that doesn't have a space after it.
And since the values are coming from a SELECT (and if the company names are properly formatted; ie, no "abc,inc." - has to be "abc, inc."), you don't have to worry about the user entering the value, thusly potentially screwing things up.
Thank you for helping.
I tried out what you said but this was the output i got:
abc, Inc.| Inc.
It ate up the xyz from the xyz, Inc.
I am unable to understand why?
Hmm.. maybe not a comma followed by "not a space". A comma followed by a letter or number?
See if that works.