Thanks for the reply, Brook. You'll see from my reply to Paul that the array just needed to be 2-dimensional...
Rick -----Original Message----- From: Brook [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 21, 2002 10:13 PM To: CF-Talk Subject: Re: What's wrong with this? What error are you getting? What version of CF? I think the Current Row variable changed slightly in CFMX, maybe some one can confirm? It may start at 0 or 1 I'm not sure. If 0, that may cause an error.... At 09:57 PM 21/09/02 -0400, you wrote: >Can anyone tell me why this code isn't working? >I've got code on the same page that's doing the exact same thing, >but with different queries and arrays, and no errors are occuring... > ><CFSET MultipleWaivers=ArrayNew(3)> > ><CFQUERY Name="GetUC" Datasource="#DSN#"> > Select UtilityCompanyID, UCName > from UtilityCompanies > order by UCName ></CFQUERY> > ><CFLOOP Query="GetUC"> > <CFSET MultipleWaivers[CurrentRow][1] = >GetUC.UtilityCompanyID[CurrentRow]> ></CFLOOP> > > > >Rick > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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

