<cffunction name="updateUser">
.....
<cfquery name="updateUser" datasource="xxx">
And here is your problem. After the <cfquery> line the variable updateUser is
a recordSet not a function.
And a solution, other then changing the query name is you can use local
variable.
<cffunction name="updateUser">
<cfargument ....>
<cfargument ...>
<cfset var updateUser = "">
.....
<cfquery name="updateUser" datasource="xxx">
This should create the existence of an updateUser local to the function that is
different then the update use in the pages variables scope. Not sure this is
the best way to solve this problem, but it is a good idea to var scope any
variables used inside of functions to prevent this kind of problem.
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
---------
| 1 | |
--------- Binary Soduko
| | |
---------
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243066
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54