CF 7 BugHunt
Add and View Bug Comments at the bottom of the Element.
Nested CFoutpur and CFloop tags.
Description of bug:
When looping over two queries with nested cfoutput and cfloop, for referencing outter loops query one need to write like this. #rsOuterQuery.ID[rsOuterQuery.currentrow]# Example: <cfoutput query="rsOuterQuery"> <cfloop query="rsInnerQuery"> <cfif rsOuterQuery.ID[rsOuterQuery.currentrow] EQ rsInnerQuery.ID> #rsInnerQuery.NAME# </cfif> </cfloop> </cfoutput> If not written like this, the outer queries data stays on the first record.
A D D Y O U R C O M M E N T S T O T H I S B U G
Please login to add comments to a bug
C O M M E N T S
Comment display is being revamped. We apologize for the delay.
Sponsored by TeraTech - © 2003-2018