Pascal
> -----Original Message-----
> From: Daniel Kessler [mailto:[EMAIL PROTECTED]
> Sent: 16 September 2004 15:49
> To: CF-Talk
> Subject: [Spam?] evaluating variables
>
> I am trying to build variables for query output. I am receiving the
> error, "cannot assign a variable to a function". I am trying to make
> p_answer1, p_answer2, p_answer3, for as many answers as I have. How
> might I restructure this code to accomplish it.
>
> <cfif get_A.recordcount NEQ 0>
> <cfoutput query="get_A">
> <cfset evaluate("p_answer#get_A.currentRow#") = p_answer>
> </cfoutput>
> </cfif>
>
> thanks.
>
> --
> Daniel Kessler
>
> Department of Public and Community Health
> University of Maryland
> Suite 2387 Valley Drive
> College Park, MD 20742-2611
> 301-405-2545 Phone
> www.phi.umd.edu
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

