Hi, Paul.

I realized the problem was that I was setting up a 3-dimensional array,
when I only needed a 2.  I don't use arrays that often and had forgotten
how to setup what I needed.  I changed to ArrayNew(3) to ArrayNew(2)
and got no errors.  So you were right in your diagnosis...  :o)

Thanks for your help.

Rick


-----Original Message-----
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 21, 2002 9:54 PM
To: CF-Talk
Subject: Re: What's wrong with this?


Oops sorry didn't see your error message ... :(


Paul Giesenhagen
QuillDesign

----- Original Message -----
From: "Rick Faircloth" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, September 21, 2002 9:02 PM
Subject: What's wrong with this?


> Can anyone tell me what's wrong with this code?
> I've got other code on the page 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>
>
> Here's the error message:
>
> Error Diagnostic Information
>
> An error occurred while evaluating the expression:
>
>
>  MultipleWaivers[CurrentRow][1] = GetUC.UtilityCompanyID[CurrentRow]
>
>
> Error near line 132, column 39.
>
>

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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

Reply via email to