> True.  Unless you var the query name, it will be in the variables scope,
> which means it is available to the entire cfc.  So, all methods can
> access (and return) the variable.
>
> Of course, this assumes that method 1 has been called BEFORE method 2 to
> create the variable.
>
> ~Brad

Yep...that's exactly what I did...called method 1 and then method 2.  Now that 
I 
think about it, I may not have had that exact situation arise before.  I have 
copied &pasted many a method in order to build a new one (leaving the return 
var 
the same as the copied method by accident).  In those cases I did get a "not 
defined" error because I only called the new method (thus the return var would 
not exist as it did in my example today).

Well I've learned my new thing for today...I'm done ;-)

Thanks all!!

Boy I'm slipping...I've had staff doing most of the development work around 
here 
the past year...tisk tisk on me ;-)

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:257077
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