The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Phillip Vector
I have the following code.. cfinvoke component=FHCcfc.Queries method=CheckPassword returnvariable=Check/cfinvoke in the cfc, I have.. cffunction name=CheckPassword returntype=query cfstoredproc procedure=CheckPassword dataSource=FoodHandlerCard

Re: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Charlie Griefer
On Mon, Jul 7, 2008 at 9:57 AM, Phillip Vector [EMAIL PROTECTED] wrote: I have the following code.. cfinvoke component=FHCcfc.Queries method=CheckPassword returnvariable=Check/cfinvoke in the cfc, I have.. cffunction name=CheckPassword returntype=query cfstoredproc

Re: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Phillip Vector
Doesn't the cfprocresult name=Check in the cfstoredproc handle the returning of the information? Can I safely get rid of that then? On Mon, Jul 7, 2008 at 10:02 AM, Charlie Griefer [EMAIL PROTECTED] wrote: On Mon, Jul 7, 2008 at 9:57 AM, Phillip Vector [EMAIL PROTECTED] wrote: I have the

RE: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Brad Wood
to be specified by the cfreturn tag. ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 12:10 PM To: CF-Talk Subject: Re: The value returned from the CheckPassword function is not of type query. Doesn't the cfprocresult name=Check

Re: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Phillip Vector
the CheckPassword function is not of type query. Doesn't the cfprocresult name=Check in the cfstoredproc handle the returning of the information? Can I safely get rid of that then? ~| Adobe® ColdFusion® 8 software 8 is the most

Re: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Phillip Vector
Well.. Wait... cfinvoke component=FHCcfc.Queries method=CreateUser returnvariable=CreateUser/cfinvoke cffunction name=CreateUser returntype=query cfstoredproc procedure=CreateUser dataSource=FoodHandlerCard cfprocparam type=IN

RE: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Brad Wood
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

Re: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Charlie Griefer
if i'm understanding what you're asking... a cffunction doesn't have to return a value. just set the returntype=void and omit a cfreturn / value. however, sometimes on things like inserts/updates, it's advisable to return a boolean based on whether or not the insert/update succeeded (using

Re: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Phillip Vector
*slaps his hand to his head* Thanks. On Mon, Jul 7, 2008 at 12:34 PM, Charlie Griefer [EMAIL PROTECTED] wrote: if i'm understanding what you're asking... a cffunction doesn't have to return a value. just set the returntype=void and omit a cfreturn / value. however, sometimes on things like