have ya done a cfdump on the first query to make sure your data is correct?
I like to do this first just to make sure.

then make the first loop work.  then make the second loop work.  do it in
pieces to nail down the problem.

tw

-----Original Message-----
From: YC Nyon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:44 AM
To: CF-Talk
Subject: Nested CFLoop problem

I can't seem to make the 1st loop to move to the next record. Am I missing
something? Below is the code snippet.

<cfloop query="GetExample" startrow="1"   endrow="#GetExample.recordcount#">
<cfloop query="translation_list"   startrow="1"
endrow="#translation_list.recordcount#" >
  <cfif GetExample.kod_gt eq translation_list.dept_code>

<cfoutput>#GetExample.kod_gt#&nbsp;&nbsp;#translation_list.nalis_code#<br></
cfoutput>
  </cfif>
</cfloop>
</cfloop>

The ouput I'm getting is
TLR100  test1
TRL100  test1
....

Thanks in advance.
Nyon
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to