You can loop through one list and do ListFindNoCase on the other List Joe
-----Original Message----- From: Tony Schreiber [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 11:36 PM To: CF-Talk Subject: RE: Comparing two lists I'm not trying to determine if the two lists are the same, but only if they have one or more matching elements... > As far as I know you should be able to do > > <cfif variables.firstList EQ variables.secondList> > </cfif> > > A list isn't a complex data type. It's just a simple variable. > > List functions just offer an exciting way to manipulate variables. > > Hope this helps. > > Derrick > > > -----Original Message----- > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 20, 2002 3:28 PM > To: CF-Talk > Subject: Comparing two lists > > > Is there an easy way to see if any items in two lists match? > > For now, I'm looping over one list and doing listfind on the other for > each value from the first. But I didn't know if there was an easier way. > > > Tony Schreiber, Senior Partner Man and Machine, Limited > mailto:[EMAIL PROTECTED] http://www.technocraft.com > > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion > http://www.is300.net ___________The Enthusiast's Home of the Lexus IS300 > http://www.digitacamera.com ______________DigitA Camera Scripts and Tips > http://www.linklabexchange.com _____________Miata Link ECU Data Exchange > > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

