Man, I cannot stop beating this horse.

I converted a query qry1 to WDDX and then back to a query, qry2.  I
observed that:
 A. qry1.ColumnList is randomly ordered.
 B. The WDDX columns are in the same order as the SELECT clause of the
SQL statement.
 C. qry2.ColumnList is identical to qry1.ColumnList

Can anyone explain how CFWDDX knows the proper order for the columns in
the packet?  Why doesn't qry2 have the same order as the packet it was
created from?

Before I go ahead and write one, does anyone know of a custom tag to
convert a wddx packet to an array or to a query?  Didn't see anything in
the Tag Gallery.  I know I could use CFWDDX to convert the packet to a
query (as I did in my experiment), but that technique doesn't preserve
the packet's column ordering.
 
Thanks.
-David
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to