<cfquery name="Keywords" datasource="#DS#" username="#DSUsername#" password="#DSPassword#"> SELECT DISTINCT Keywords FROM Photos </cfquery> This will return a query where there are no Duplicates. Jason Lees National Express Ltd E-Mail : [EMAIL PROTECTED] -----Original Message----- From: Jason Larson [mailto:[EMAIL PROTECTED]] Sent: 27 February 2001 15:05 To: CF-Talk Subject: RE: Removing Duplicate Values in a List I've have tried this and it doesn't work. Here's a little better explaination. <cfquery name="Keywords" datasource="#DS#" username="#DSUsername#" password="#DSPassword#"> SELECT Keywords FROM Photos </cfquery> <!--- Creates a list and Alphabetizes out of the database, i.e. bear,elk,wolve ---> <cfset KeywordList = ListSort(ValueList(Keywords.Keywords), "textnocase")> Know is where I run into a problem. This list will contain duplicate values that I want to replace Any ideas? Thanks for your time Jason Larson [EMAIL PROTECTED] -----Original Message----- From: Jason Lees (National Express) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 7:31 AM To: CF-Talk Subject: RE: Removing Duplicate Values in a List use the Select Distinct option thats in SQL? Select Distinct COl1,Col2,...etc from My_Table where x=y Jason Lees National Express Ltd E-Mail : [EMAIL PROTECTED] -----Original Message----- From: Jason Larson [mailto:[EMAIL PROTECTED]] Sent: 27 February 2001 14:19 To: CF-Talk Subject: Removing Duplicate Values in a List I have a List that is generated from a query, How about do I remove duplicate values within the list? I couldn't find any kind of reference to this anywhere not even in Ben's Bible. Thanks for your help! Jason Larson [EMAIL PROTECTED] 406-728-4422 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Removing Duplicate Values in a List
Jason Lees (National Express) Tue, 27 Feb 2001 07:55:43 -0800
- RE: Removing Duplicate Values in a List Jason Lees (National Express)
- RE: Removing Duplicate Values in a Lis... Jason Larson
- Re: Removing Duplicate Values in a... Don Vawter
- RE: Removing Duplicate Values in a Lis... Howarth, Craig (IBK-NY)
- RE: Removing Duplicate Values in a Lis... Jason Lees (National Express)
- RE: Removing Duplicate Values in a Lis... Adkins, Randy
- RE: Removing Duplicate Values in a... Jason Larson
- RE: Removing Duplicate Values in a Lis... Lord, Heath
- Display Query Horizontally Jay E Wigginton
- RE: Display Query Horizontally Philip Arnold - ASP
- RE: Display Query Horizont... Jay E Wigginton
- Re: Display Query Horizontally JoshMEagle
- RE: Display Query Horizontally James Rector
- RE: Removing Duplicate Values in a Lis... Lord, Heath
- RE: Removing Duplicate Values in a Lis... Aidan Whitehall

