So if this is my array ... <cfset ADListArrNew[1] [1] = "John"> <cfset ADListArrNew[2] [1] = "Jeff"> <cfset ADListArrNew[3] [1] = "Jack"> <cfset ADListArrNew[4] [1] = "Jed"> <cfset ADListArrNew[5] [1] = "Jim">
And I want to add two names after Jack ( Sue, Kim)... <cfset RowLoc="3"> <cfloop query="GetADListNew"> <cfset vCurRow = RowLoc + currentrow> <cfset ArrayInsertAt(ADListArrNew[vCurRow],1, #GetADListNew.name#)> </cfloop> Is the variable vCurRow not supported? Thanks, - Charles On Feb 9, 2005, at 10:12 AM, Bryan F. Hogan wrote: > <cfset myArray[1][1][1]='Test'> > <cfset arrayInsertAt(variables.myArray[1][1], 1, 'Test2')> > <cfdump var="#variables.myArray#"> > > -----Original Message----- > From: Charles Heizer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 09, 2005 1:06 PM > To: CF-Talk > Subject: Re: ArrayInsertAt Question > > So, then does ArrayInsertAt not support multi-dimensional arrays? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193909 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54