-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Is there any documentation on StructSort. I need to use StructSort to
> sort the results of a cfa_contentOBjectFind on one of the properties.
> <cfa_contentObjectFind datasource="#request.cfa.datasource.dsn#"
> r_lObjects="idObject"
> bActiveOnly="true"
> fullTextSearchCriteria="#searchTerm#"
> r_qObjects = "qObjects"
> r_stObjects ="stObjects"
> typeID="622BAFE3-18B9-11D5-A42C006094A38F50">
You can try cfa_structsortcommonsubkeys. It returns a sorted array, which
you can use when you look through using stObjects.
<cfa_structsortcommonsubkeys struct="#stObjects#"
commonsubkey="exhibit_title" r_asortedkeys="aObjectsSorted"
sortOrder="asc">
<cfloop index="arrIdx" from="1" to="#ArrayLen(aObjectsSorted)#">
#stObjects[aObjectsSorted[arrIdx]].exhibit_title#<br>
</cfloop>
- ----
Loke, Teng-Yan | [EMAIL PROTECTED] | +65-8313547
E-Developer | novaSPRINT.com (S) Pte Ltd
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBOr98YRQsl2B8K+e4EQKoOACdEHGuuPdnLx1rDiIdeqZcl7MWS8wAnj/X
NaLRA/u9Wv7PNRy6PDOorwYM
=tUv7
-----END PGP SIGNATURE-----
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.