Sorry, I guess I should have put that out there too. I am getting this error:
The package method 'listSelectedCouncil' in component C:\Intetpub\wwwroot\DONE\CFC\getCouncils.cfc cannot be access from C:\Intetpub\wwwroot\DONE\nc\Done_Edit.cfm On 12/11/06, Dan Vega <[EMAIL PROTECTED]> wrote: > > You need to make sure you var scope your query names > > <cfset var qNCSelected = ""> > > I am not quite sure what your problem is though? > > 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:263645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

