Stupid stupid stupid. Damn I feel stupid. Thanks,

Bruce

On 4/11/07, Adrian Lynch <[EMAIL PROTECTED]> wrote:
>
> Damn you've got good eyes!
>
> -----Original Message-----
> From: Rick Root [mailto:[EMAIL PROTECTED]
> Sent: 11 April 2007 17:12
> To: CF-Talk
> Subject: Re: Strange Error
>
>
> Bruce...
>
>
> >
> > <cffunction name="getCandidateElectionInformation" access="public"
> > returntype="query" hint="Get the candidate election information">
> >                <cfargument name="NC_ID" type="numeric" required="yes">
> >                    <cfquery datasource="#Request.dsource#"
> > result="qGetElectionResults">
> >                        Query goes here
> >                    </cfquery>
> >                <cfreturn qGetElectionResults>
> >            </cffunction>
>
> "qGetElectionResults" is a struct containing meta data about the query
> itself.. execution time, SQL, parameters, etc.
>
> You need to give the query a NAME and reutrn that.
>
> Ie...
>
> <cfquery NAME="qGetElectionResults" ... >
>
> rick
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275021
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