you require a variable named NCID to be passed into the component but you dont have an invokeargument for the variable we you invoke it.
On 12/11/06, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Hello, > I have a CFC that works fine until I use a certain CFINVOKE. > The invoke tag is thus: > <cfinvoke > component="CFC.getCouncils" > method="listSelectedCouncil" > returnvariable="listSelectedCouncilRet"> > </cfinvoke> > > Now this one is no different than the other invokes I have on the page, and > when I remove this one all is well. Below is the code from the actual CFC: > <cffunction name="listSelectedCouncil" access="package" returntype="query" > hint="Get the NC we want to edit"> > <cfargument name="NCID" type="string" required="yes" hint="NC_ID is > required" default="#ID#"> > > <cfquery datasource="#Application.dsource#" name="qNCSelected"> > SELECT * > FROM tblNeighborhoodCouncil > WHERE NC_ID = #ID# > </cfquery> > <cfreturn qNCSelected> > </cffunction> > > I can run the query just fine. I am befuddled. > > Thanks, > Bruce > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263649 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

