Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<cfquery> return type error 1

Status
Not open for further replies.

RosieGp

Programmer
Jun 23, 2009
83
0
0
US
Hi,

<cfcomponent>

<cffunction name="saveInfo" access="public" returntype="query">
<cfargument name="Employee_ID" type="string" required="no">
<cfargument name="Address" type="any" required="no">


<cfquery name="EmployeeInfo" datasource="Employees_data">
Update Employees_Data_Info

SET Address = '#arguments.Address#'

where Employee_ID = '#arguments.Employee_ID#'
</cfquery>

<cfreturn EmployeeInfo>

</cffunction>

</cfcomponent>





This is throwing teh following error.



faultCode:Server.Processing faultString:'Unable to invoke CFC - Variable EmployeeInfo is undefined.' faultDetail:''



Can anyone suggest why it is happening...



Thanks...
 
For any future readers, the answer was given on the Adobe forums: update queries do not return a result


On a side note: This site either bizarre backup issues or a forum bug. New posts like this one appear, disappear the next day, and reappear the following day ...


----------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top