Hey All,

OK...this I have not seen before....can anyone shed some light??

CALLING TEMPLATE (psuedo code):

<cfinvoke method="meth1" blah blah returnvariable="query1">some args</cfinvoke>

<cfinvoke method="meth2" blah blah returnvariable="query2">some args</cfinvoke>

CFC (also pseudo code):

<cffunction name="meth1">runs a query named "query1" <cfreturn 
query1></cffunction>

<cffunction name="meth2">runs a query named "query2" <cfreturn 
query1></cffunction>

Now note that for "meth2" above it is actually returning the query (query1) 
from "meth1"

This was a result of a copy & paste.  I copied meth1 and made meth2 from it 
(forgetting to change the query being returned.

What I find odd is that this didn't error out saying (in meth2) that "query1" 
is not defined (as I'd expect...and am sure I've seen before).  It appears that 
meth2 is has access to the query run in meth1?  Is that correct?

Thanks in advance.

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257053
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to