I'm glad you got it to work, but FYI, all contents of a cfinclude will process before the rest of the original file runs. To test this, I created an include file that just loops for 30 seconds. I wrote the time to the screen before, inside, and after the include call and here are the results:
before calling include: 2:09:48 PM inside at start of include: 2:09:48 PM inside at end of include: 2:10:15 PM after calling include: 2:10:15 PM Some text after the include file So the code that wrote the 'after calling' and the 'some text after...' lines didn't fire until after the include had finished. > -----Original Message----- > From: CHANCE, JENNIFER M. (JSC-BJ) (BAS) > [mailto:[EMAIL PROTECTED] > Sent: Monday, October 17, 2005 2:05 PM > To: CF-Talk > Subject: RE: Cfinclude processing > > Ah..I just went ahead and created another query in the > cfinclude page to > pull the data out and will just use that query to populate > instead. It > works and that's all that matters :) thanks! > > -----Original Message----- > From: Larry Lyons [mailto:[EMAIL PROTECTED] > Sent: Monday, October 17, 2005 3:01 PM > To: CF-Talk > Subject: Re: Cfinclude processing > > >The main page looks at the database before the code that updates the > >database in the cfinclude has had a chance to finish > > > >-----Original Message----- > >From: Munson, Jacob [mailto:[EMAIL PROTECTED] > >Sent: Monday, October 17, 2005 2:53 PM > >To: CF-Talk > >Subject: RE: Cfinclude processing > > > >I guess I'm confused...what do you mean by '..not quick enough to > >display the new data'. Do you need to use cfflush to make sure the > >data is output as it happens? > > > > I'm a bit confused here myself. All that a CFInclude does is > inserts the > included page at that point. If you need to look at the > changed data, you > may want to do some page restructuring, or use a cflocation > to a display > page immediately after the data has been inserted. > > larry > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221249 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

