query.currentRow()

return the row where the pointer of the query is pointing ATM

query.currentRow( )

Returns: Numeric

This function does not take any arguments.

Examples

myquery = queryNew("id,name","int,varchar",[["1","jhon"],["2","mike"]]);
	writeDump(myquery);
	currentrow = myquery.currentrow();
	cfloop(query=myquery) {
		writeDump(currentrow);
	}

See also