RE: Structure order in MX

2003-01-23 Thread mark brinkworth
The Macromedia documentation is inconstant on this point, and the migration guide as far as I can tell is wrong. There is a comment on livedocs re this > > So, what is meant by the docs saying that "MX > returns > > structure keys in the order they are created" as > opposed to > > CF5 doing it

Structure order in MX

2003-01-22 Thread Brad Howerter
I'm sure you're right that that is what it means. But it doesn't behave that way. The following code returns C, D, B. #k# #structKeyList(a)# A Macromedia rep says it isn't documented to be in any order at all: http://www.cfbughunt.org/index.cfm?fuseaction=view_bug&BugID=1166&Row=

RE: Structure order in MX

2003-01-22 Thread Raymond Camden
> So, if I want to have the structure keys (StallionCode in > this case) come out in my loop in the order I want tthem, > I'll have to do a new sort as I did in CF5? My ordering the > query by SortOrder before creating the structure isn't of > value then, right? I'm a bit confused by what you

Re: Structure order in MX

2003-01-22 Thread E. Keith Dodd
[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 2:43 PM Subject: RE: Structure order in MX > The reason you see different output when you use your manaul loop > compared to cfdump is that cfdump gets the keys and then sorts the keys. > > > =

RE: Structure order in MX

2003-01-22 Thread Raymond Camden
] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: E. Keith Dodd [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 12:04 PM > To: CF-Talk > Subje

Structure order in MX

2003-01-22 Thread E. Keith Dodd
I am probably misunderstanding the MX docs regarding a structure's order. "MX returns structure keys in the order they are created. CF5 returned keys in alpha order." Am building a structure of Stallions from a query that has ORDER BY SortOrder. SortOrder is a number (byte) field in an Access data