Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cfloop problem ...

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi guys please do help me outi this.. my plight is am using cfloop with index .. and when i try to display the records only the fisrt records is shown not all the records with that condition please do suggest..
am showing the coding below
-paul
-----------------------------------
<cfloop index=loopcount from=1 to=#qry_get_team_members.recordcount#>
<cfif #qry_get_team_members.rec_id[loopcount]# eq #member_idx#>
<div align=&quot;center&quot;>#qry_get_team_members.name[loopcount]# </div>
</cfif>
</cfloop>
</font></td>
<cfloop index=loopcount from=1 to=#qry_get_meetings.recordcount#>
<cfif qry_get_meetings.rec_id[loopcount] eq meeting_idx>
</cfif>
</cfloop>

-------------------------------------
 
-> you only have one record for which qry_get_team_members.rec_id[loopcount] equals member_idx
-> you don't display anything in the 2nd loop

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top