Perhaps that's not the name of your query or it's in the wrong scope. Can you cfdump query2 just before the loop, or inside the first loop?
> -----Original Message----- > From: Jeff D. Chastain [mailto:[EMAIL PROTECTED]] > Sent: Friday, 22 November 2002 4:12 p.m. > To: CF-Talk > Subject: RE: Loop inside of a loop ??? > > > Has anybody seen this error before? Any pointers? > > Thanks > -- Jeff > > -----Original Message----- > From: Jeff D. Chastain [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 21, 2002 4:21 PM > To: CF-Talk > Subject: RE: Loop inside of a loop ??? > > > Yep, I am properly referencing all fields - just to be safe anyways. > > Running CFMX, I am getting the following error ... > > Attribute validation error for tag cfloop. > The value of the attribute query, which is currently "query2", is > invalid > > I have not seen this error before. I have verified that both queries > exist and contain data. > > Any ideas? > > > -----Original Message----- > From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 21, 2002 4:12 PM > To: CF-Talk > Subject: Re: Loop inside of a loop ??? > > > yes you can....just beware that you may have field names that are the > same in each query...so refrence them properly or alias them > in 1 query > > Bryan Stevenson B.Comm. > VP & Director of E-Commerce Development > Electric Edge Systems Group Inc. > t. 250.920.8830 > e. [EMAIL PROTECTED] > > --------------------------------------------------------- > Macromedia Associate Partner > www.macromedia.com > --------------------------------------------------------- > Vancouver Island ColdFusion Users Group > Founder & Director > www.cfug-vancouverisland.com > ----- Original Message ----- > From: "Jeff D. Chastain" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, November 21, 2002 2:11 PM > Subject: Loop inside of a loop ??? > > > > Can you do the following? > > > > <cfloop query="query1"> > > <cfloop query="query2"> > > .... > > </cfloop> > > </cfloop> > > > > I thought I had done it before, but I am getting strange error > > messages now. > > > > Thanks > > -- Jeff > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

