>> I am currently calling a cffunction that is on the same page using >> <cfset myVar = GetVar(Toy)>. The GetVar is written on the same page. >> However I want to call another function the same way but it is on a >> diffrent page. Is there a way of calling it with out having to copy >> and past it into this page? Thanks
>put the function in a shared scope, as in session.foo(doSomething). Matthew, Yet another method would be to create a separate file, put your function in that file, and then do a <cfinclude> of that file for each page you want to use it on. As you can see, there are a number of ways you can accomplish this. You could also put it in the application scope as well. Dave ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309690 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

