# QueryCurrentRow()

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

```
QueryCurrentRow( query=query );
```

**Returns:** numeric

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| query | query | Yes | The query from which to return the current row index. |  |

# Examples

```cfml
myQry=QueryNew("id,name","Integer,VarChar",[[99,'sm'],[55,'mk']]);
cfloop( query="myQry"){
	writeDump(querycurrentrow(myQry));
}
```







# Categories

[Queries](../../categories/query.md)

# See Also

[query.currentRow()](../objects/query/currentrow.md)