You can't use functions on the left-hand side of an assignment but this
might help you:
<CFSET "SUM_#attributes.attcode#" = Evaluate("SUM_" &
attributes.attcode) + GetVacationDetails.RegHrs>

-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]] 
Sent: Monday, November 19, 2001 15:30
To: CF-Talk
Subject: Cannot convert to number


OMG.

I feel like its all coming apart now.

Got hit with another error , on another screen.

------------------------------------------------------------------------
---------------------

An error occurred while evaluating the expression: 


 "SUM_#Evaluate("#attributes.attcode#")#" = "SUM_#attributes.attcode#" 
+
#GetVacationDetails.RegHrs#


Error near line 106, column 9.
------------------------------------------------------------------------
--------

Cannot convert SUM_8000 to number.

Please, check the ColdFusion manual for the allowed conversions between
data types

------------------------------------------------------------------------
-------------------------

This is the line of code throwing the error:
<CFSET "SUM_#Evaluate("#attributes.attcode#")#"=
#Evaluate("SUM_#Evaluate("#attributes.attcode#")#")# +
#GetVacationDetails.RegHrs#>

It worked fine once..and...now it's not..and...it all doesn't make
sense. *falls over* Gods.

-Gel

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to