is local inside your method? On 22/06/06, Everett, Al (NIH/NIGMS) [C] <[EMAIL PROTECTED]> wrote: > In my CFCs, I like to put > > <cfset var local=structNew()> > > at the top, and use "local" as if it were a private variable scope. > > I needed to do a query of query, and the query I wanted to use was in > one of those "local" variables. Inside a <cfoutput query="...">, I had: > > <cfquery name="qCurrentAppl" dbtype="query"> > SELECT > * > FROM > local.qAllAppls > WHERE > ML_RPT_HDR_ID=#ML_RPT_HDR_ID# > </cfquery> > > But every time I tried to run it I got a syntax error. > > When I changed the "master query" to be in an unscoped (var) variable > and used that instead, it ran fine. > > <cfquery name="qCurrentAppl" dbtype="query"> > SELECT > * > FROM > qAllAppls > WHERE > ML_RPT_HDR_ID=#ML_RPT_HDR_ID# > </cfquery> > > Has anyone else encountered this? Isn't this a bug? > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244534 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

