Paul, I still don't understand what you are trying to accomplish. Are you just looping thru your products, pulling in code from one include that pulls in code from a second include? If this is the case, both includes will have access to the current row of the fields retrieved in the query.
Does this answer your question? Andy -----Original Message----- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 10:19 PM To: CF-Talk Subject: Re: Query Result 2 includes down After re-reading I need to be more clear ... The first instance of getProduct.id is being used for every loop after the first loop. It it not moving on to the next id value. If I set <cfset variables.prodorderid = getProduct.id> that works.... ----- Original Message ----- From: "Paul Giesenhagen" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 10:15 PM Subject: Query Result 2 includes down > I have a query "getProduct" with a value "getProduct.id" > > I have the following template layout: > > Main Page (with the getProduct Query) > <cfloop query="getProduct"> > - First Include > - Second include (included in the First Include) > </cfloop> > > The second include is holding the FIRST instance of getProduct.id and using it inside of the Second include. > > Is that how it is supposed to work? > > Thanks > Paul Giesenhagen > QuillDesign > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

