Kris:
The first error is thrown because #getRS.regioncode# is returning a NULL
value. It must be a number in order for Round() to work. Wrap this
function in a CFIF to check for a value. Return 0 if it is NULL. Then
round.
The second one is a bit harder. Try this syntax.
<CFSET RegionData = "Region" & #converter# & "Summary'">
Let me know if you have any other questions.
Good Luck.
Nick Call
[EMAIL PROTECTED]
http://www.accessutah.com
----- Original Message -----
From: "Kris Seaney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 18, 2000 9:43 AM
Subject: pulling my hair out
>
>
>
> Hi guys and Gals,
> I got hired to come in and take over a major project. I think I got in
a
> wee bit over my head . Here is my first problem, I am getting this error::
>
>
>
> Error Occurred While Processing Request
> Error Diagnostic Information
> Parameter 1 of function Round which is now "" must be a stk_real number
>
> The error occurred while evaluating the expression:
>
>
> converter = "#round(getRS.regioncode)#"
>
>
>
>
> The error occurred while processing an element with a general identifier
of
> (CFSET), occupying document position (29:1) to (29:47).
>
>
> Date/Time: 04/18/00 10:42:41
> Browser: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
> Remote Address: 127.0.0.1
> HTTP Referer:
>
http://localhost/WINDOWS/Desktop/work/patient_details.cfm?ID=patient&drg_cat
> egory=05&query_drg=138&state=AL
> Template: C:\WINDOWS\Desktop\work\patient_subtable1.cfm
>
>
>
>
> here is the cfset syntax.
> <CFSET RegionData = "Region" & "#converter#" & "Summary">
> <CFSET StateData = "Region" & "#converter#" & "StateSummary">
> <CFSET HospData = "Region" & "#converter#" & "Hospitals">
>
>
>
> any ideas on where to start?
>
>
> thanks
> Kris Seaney
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.