CF doesn't allow you to put un-closed tags in CFIF statements like that. Tell me exactly what you want to happen so i can help yo structure it the right way
-----Original Message----- From: Angel Stewart [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:38 AM To: CF-Talk Subject: Looping depending on CFIF Statement Hi all, Any idea why I can't seem to wrap CFLOOP tags in CFIF statements? I keep getting errors as though CF is totally ignoring the CFIF statement and still parsing the </CFLOOP> tag. Here is some simple sample code: <CFIF LoopYes EQ True> <cfloop index="count" from="1" to="10"> </CFIF> <cfloop index="theindex" from="1" to="2"> The index Is <CFOUTPUT>#theindex# </CFOUTPUT> </cfloop> <CFIF LoopYes EQ True> </cfloop> </cfif> Of course LoopYes is NOT equal to True. ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists