How would I dump the current row that I'm outputting?
For example:
cfoutput query=qryName
cfdump var=#qryName#
/cfoutput
This dumps the whole query (a bunch of times). I just want the current row
being outputted.
Russ
You can use this function
cffunction name=querySingleRowDump returntype=query
cfargument name=q type=query required=true /
cfargument name=r type=numeric required=true /
cfset var ret = querynew( arguments.q.columnlist )
cfset var i =
cfset queryaddrow( ret )
How would I dump the current row that I'm outputting?
For example:
cfoutput query=qryName
cfdump var=#qryName#
/cfoutput
This dumps the whole query (a bunch of times). I just want
the current row being outputted.
A query object is essentially a structure of arrays, in
3 matches
Mail list logo