# 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

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







# Categories

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

# See Also

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