Your problem is your CFFUNCTION specifies the returntype attribute.
When you do that you are telling ColdFusion to expect the function to
return something-- and more specifically, to expect a particular type of
variable to be returned.

If you have a method which does not return any information to the
calling code, than remove the returntype="query"--  Simple as that.

~Brad

-----Original Message-----
From: Phillip Vector [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 07, 2008 2:23 PM
To: CF-Talk
Subject: Re: The value returned from the CheckPassword function is not
of type query.

Well.. Wait...

        <cfinvoke component="FHCcfc.Queries" method="CreateUser"
returnvariable="CreateUser"></cfinvoke>

        <cffunction name="CreateUser" returntype="query">


This one has a cfreturn, but I'm getting the same error.. It's an
insert, so I removed the cfreturn and return variable and I still get
the same error as I did when they were there...

So... Is there some special way of running code in a CFC where I don't
need a return variable besides removing the cfreturn and
returnvariable?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-Talk/message.cfm/messageid:308682
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to