At 04:27 PM 7/14/2002 -0700, you wrote: >I am trying to next a structure within an array. Like this, while looping. > ><cfset queryfilterARRAY[#count#][1]=queryfilterStruct>
Can we see the full code? In the example above, we do not know what queryfilterStruct is. Nor am I sure why you need a two dimensional array. >This seems to work okay, but when I try to retrieve the structure from a >position in the array, the retrieved data is always the last structure >inserted. The structure added last seems to replace all of the previously >added values. > >Am I missing something obvious here? CAN you nest structures within an >array? Yes! An array element can contain any data type, including structures (and other arrays). >Also, does the way the array is initialized have any bearing here? No! >I >am initializing it like this <cfset queryfilterARRAY = ArrayNew(2)> Why do you need a two dimensional array? -- Jeffry Houser | mailto:[EMAIL PROTECTED] Need a Web Developer? Contact me! AIM: Reboog711 | Phone: 1-203-379-0773 -- My CFMX Book: <http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20> My Books: http://www.instantcoldfusion.com My Band: http://www.farcryfly.com ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

