> No, you can use CFQUERYPARAM > > <cfset myList="203,197"> > > <cfquery name="myQuery" datasource="#DSN#"> > select * > from myTable > where > salesPersonID IN (<cfqueryparam cfsqltype="CF_SQL_VARCHAR" > value="#myList#" list="Yes" separator=",">) > </cfquery>
Wow, that's neat! I wasn't aware you could do that. I'll have to try that out! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm

