House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfmodule and query of queries

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

cfmodule and query of queries

>>But I can't figure out how to pass the query from one module to Claude_Schnéegans 02/09/2010 09:06 AM
You should really be doing this in a CFC.  They're built for stuff Eric Cobb 02/09/2010 09:03 AM
Set your query as caller.queryName is one way there are others. LRS Scout 02/09/2010 08:09 AM
Hi all, Thane Sherrington 02/09/2010 07:58 AM

02/09/2010 09:06 AM
Author: Claude_Schnéegans Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60836#330492 >>But I can't figure out how to pass the query from one module to another. You can also set your query in the request scope, ie : request.MyQuery The request scope is visible in any module and sub modules.
02/09/2010 09:03 AM
Author: Eric Cobb Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60836#330491 You should really be doing this in a CFC.  They're built for stuff like this. Thanks, Eric Cobb http://www.cfgears.com ColdFusion - the most profitable "dead" language I've ever worked with. Thane Sherrington wrote: ----- Excess quoted text cut - see Original Post for more -----
02/09/2010 08:09 AM
Author: LRS Scout Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60836#330490 Set your query as caller.queryName is one way there are others. You should be using a CFC for this and returning the query probably. Hi all,   This is probably a stupid question, but my simple mind can't figure it out.  I'm trying to do the following: 1)Have a cfmodule that does a large query. 2)Have a series of cfmodules that do a query of query on the large query 3)Have a script that calls the cfmodules But I can't figure out how to pass the query from one module to another.  I can do it if I use cfinclude, of course, since all the variables are accessible, but when I try to do it from cfmodule to cfmodule, the query of query modules can't access the large query because it's local to the first cfmodule. Is there away around this? T
02/09/2010 07:58 AM
Author: Thane Sherrington Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60836#330489 Hi all,   This is probably a stupid question, but my simple mind can't figure it out.  I'm trying to do the following: 1)Have a cfmodule that does a large query. 2)Have a series of cfmodules that do a query of query on the large query 3)Have a script that calls the cfmodules But I can't figure out how to pass the query from one module to another.  I can do it if I use cfinclude, of course, since all the variables are accessible, but when I try to do it from cfmodule to cfmodule, the query of query modules can't access the large query because it's local to the first cfmodule. Is there away around this? T
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference