My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
CFScript - Query Loop
Author: Jason Dowdell
Category: ColdFusion
Loop through a query within a cfscript block
<cfscript> 
 count = 0;
 while (count lt QueryName.RecordCount)
 {
  count = count + 1;
  Column1 = QueryName.Column1[count] ;
  Column2 = QueryName.Column2[count] ;
 }
</cfscript>
Brought to you by your friends at Engine Studio Inc.


Content Management Powered by ActivEdit  ActivEdit Browser Based WYSIWYG HTML Editor

More Code Samples

Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement