<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - funca104.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T04:40:38</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#38260" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#33194" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#33193" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#32591" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#27390" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#1224" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#38260">
		<title>coldfusion/6.1/htmldocs/funca104.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#38260</link>
		<description>Helped me! Thanks.</description>
		<dc:creator>mowebdev</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-08-02T12:13:46</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#33194">
		<title>coldfusion/6.1/htmldocs/funca104.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#33194</link>
		<description>Its ok as i sorted it using the following&lt;br /&gt;&lt;br /&gt;&lt;cfset directoryQuery = QueryNew(&quot;FirstName,LastName,Service,Department,ext&quot;)&gt;&lt;br /&gt;&lt;br /&gt;&lt;cfoutput query=&quot;rs_searchResults&quot;&gt;&lt;br /&gt;&lt;br /&gt;	&lt;cfset service = getToken(distinguishedName,3,&quot;,&quot;)&gt;&lt;br /&gt;	&lt;cfset service = trim(getToken(service,2,&quot;=&quot;))&gt;&lt;br /&gt;&lt;br /&gt;	&lt;cfif not findnocase(service,bannedlist)&gt;&lt;br /&gt;		&lt;cfscript&gt;&lt;br /&gt;			newRow = QueryAddRow(directoryQuery);&lt;br /&gt;			QuerySetCell(directoryQuery, &quot;FirstName&quot;,&quot;#rs_searchResults.givenname#&quot; );&lt;br /&gt;			QuerySetCell(directoryQuery, &quot;LastName&quot;, &quot;#rs_searchResults.sn#&quot; );&lt;br /&gt;			QuerySetCell(directoryQuery, &quot;Service&quot;,&quot;#service#&quot; );&lt;br /&gt;			QuerySetCell(directoryQuery, &quot;department&quot;,&quot;#rs_searchResults.department#&quot; );&lt;br /&gt;			QuerySetCell(directoryQuery, &quot;ext&quot;,&quot;#replacenocase(rs_searchResults.telephonenumber,' ','','all')#&quot; );	&lt;br /&gt;		&lt;/cfscript&gt;	&lt;br /&gt;	&lt;/cfif&gt;&lt;br /&gt;&lt;/cfoutput&gt;&lt;br /&gt;&lt;br /&gt;&lt;cfquery dbtype=&quot;query&quot; name=&quot;sorted&quot;&gt;&lt;br /&gt;	SELECT * &lt;br /&gt;	FROM directoryQuery &lt;br /&gt;	ORDER BY service, department, lastname, firstname&lt;br /&gt;&lt;/cfquery&gt;&lt;br /&gt;&lt;br /&gt;As you can see i was trying to sort  active directory. CFLDAP couldnt do it for me. Hope this helps others as it certainly helped me</description>
		<dc:creator>Martyn Hills</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-05-10T03:41:11</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#33193">
		<title>coldfusion/6.1/htmldocs/funca104.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#33193</link>
		<description>I have a 2d structure to contain user information but how do i order the entire list by an element in the structure??&lt;br /&gt;&lt;br /&gt;Here is what im storing with examples&lt;br /&gt;&lt;br /&gt;name : John Smith&lt;br /&gt;service : development&lt;br /&gt;department : beer development&lt;br /&gt;&lt;br /&gt;How would i sort my structure by service, department then by name??&lt;br /&gt;&lt;br /&gt;Any help would be great as its driving me mad!!!!!!</description>
		<dc:creator>Martyn Hills</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-05-10T03:17:11</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#32591">
		<title>coldfusion/6.1/htmldocs/funca104.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#32591</link>
		<description>to get a list sorted based on the structure key values you can do the following:&lt;br /&gt;&lt;br /&gt;&lt;cfset temp = ListSort(StructKeyList(myStruct), &quot;text&quot;)&gt;</description>
		<dc:creator>OneTruth</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-04-28T11:06:41</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#27390">
		<title>coldfusion/6.1/htmldocs/funca104.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#27390</link>
		<description>How would you sort the values in a Structure in alphabetical order based upon the Key? Is it possible? Something like this?&lt;br /&gt;&lt;br /&gt;&lt;cfset Values = structNew()&gt;&lt;br /&gt;....................&lt;br /&gt;&lt;!--- code to enter values into the structure---&gt;&lt;br /&gt;....................&lt;br /&gt; &lt;cfset temp = StructSort( values, &quot;text&quot;, &quot;ASC&quot;, Key )&gt;&lt;br /&gt;&lt;br /&gt;Thanks for your help ahead of time!</description>
		<dc:creator>jce1975</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-02-03T11:47:02</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#1224">
		<title>coldfusion/6.1/htmldocs/funca104.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca104.htm#1224</link>
		<description>The most powerfull feature of structures is, For example you have one structure which would hold other structure values as well. and we can split the structure up to single numeric or text value for sorting the structure .</description>
		<dc:creator>sanaullah</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-08-08T08:25:28</dc:date>
	</item>
	</rdf:RDF>

