pat is right, it should be done on the clilent
there is a clear and simple coldfusion solution
http://www.dbforums.com/t987601.html
you see, sridharreddy_d, this is why you should not cross-post, you get a whole raft of people attempting to help you, and many of the answers will be conflicting