You might also try using one of Java's ordered collections.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Daniel Short
Sent: Monday, February 28, 2005 2:56 PM
To: [email protected]
Subject: RE: [CFCDev] Using Structures to handle navigation (order problems)

Yep, I have it all working with a query now. The query remembers the order
things were added, which is exactly what I'm after. This way the user can
add navigation items as they please, in the order they please, without any
problems.

Thanks everyone.

Dan 

> You can of course order a query, using ORDER BY in the sql. 
> If you don't
> have a column to sort by already, you can add one to your QueryNew()
> function and set the value (perhaps the index of your loop?) with
> QuerySetCell()



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Reply via email to