Losing variables in multiple grouped cfoutput

0 views
Skip to first unread message

Mike G

unread,
Jan 25, 2020, 5:40:45 PM1/25/20
to hou...@googlegroups.com
Has anyone seen this before (cf2016 on windows)

<cfoutput query="data" group="gyid">
#data.columnlist#<br>
       <cfoutput group="sid">
            #data.columnlist#<br>
            <cfoutput>
            </cfoutput>
       <cfdump var="#rq#" label="rq last">
       </cfoutput>
</cfoutput>

The columnlist in the group=gyid is correct
 "ACTUALATTENDANCE,ATTENDEECOUNT1,CLASS1_DATE,CLASS1_TIME,GYID,SID,TASKID,THERAPYTYPE"
The columlist for group=sid is not..  it is only DATAID  

Even stranger, this code is in a cfc function and if I copy the code out of the function and run it on a standalone page, it works as expected..

The error i get in the group=sid portion of the output is "element SID is undefined in DATA"...

Any ideas?

Regards,

M
Reply all
Reply to author
Forward
0 new messages