ValueList() http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca117.htm#wp111423 6
There's also QuotedValueList() http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functa59.htm#wp111081 0 Ade -----Original Message----- From: David Mineer [mailto:[EMAIL PROTECTED] Sent: 24 February 2005 21:02 To: CF-Talk Subject: IN predicate SQL and CFMX I get a value from the field of a database. Typical result is "su,dm,ie" Assuming that value is stored in "dbfield". THen I want to use that value in SQl like so SELECT * FROM DATABASE WHERE thisvalue in (#dbfield#) SQL is looking for ('su','dm','ie') HOw do I pass that value instead of ('su,dm,ie') TIA, -- David Mineer Jr --------------------- Don't wish it was easier; wish you were better. Don't wish for less problems; wish for more skills. Don't wish for less challenges; wish for more wisdom. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196399 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

