Thanks for your help. I had already decided to used a different tac before 
seeing your response yesterday. I created a udf in SQL Server that accepts the 
staff number and returns an integer. This is then called from within a 
component as follows: 

<cfquery name="qUDF" datasource="#***********#">
   SELECT dbo.GetNumber('#intStaffNumber#')
</cfquery>

How do I get hold of the returned value in Coldfusion? I need to save it to a 
variable and display it on screen. 

Thanks in advance. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3791
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to