# list-item command (Access Query Language)

The list-item command displays items
in their internally stored format. The list-item command combines the action of the copy command
with the selection criteria and format capabilities of the list command. The items are copied to the user’s terminal
or to the printer just as the copy command would
copy them, with the line numbers on the left margin.

**Synonyms:** li

## Syntax

```
list-item file.reference {item.list} {selection.criteria} {sort.criteria}
{modifiers} {(options)}
```

## Parameter(s)

| options | f | Starts display of each item on a new page. |
| --- | --- | --- |
| s | Suppresses listing of attribute (line) numbers. | |
Note: If by is provided with a command that does not naturally
sort (such as the list-item command), the command
is changed to its sorting counterpart (for example, list-item becomes sort-item, select becomes sselect, and so on).

## Example(s)

```
list-item dm,bp, ’term-type’ (p
```

## See also

- [Access Query Language](https://d3codex.com/access/access-query-language/)
- [AQL command categories](https://d3codex.com/access/aql-command-categories/)
- [copy command](https://d3codex.com/tcl/copy-command/)
- [File reference (Access Query Language)](https://d3codex.com/access/file-reference-access-query-language/)
- [File-defining items](https://d3codex.com/definitions/file-defining-items/)
- [Item list](https://d3codex.com/access/item-list/)
- [legend-supp modifier](https://d3codex.com/access/legend-supp-modifier/)
- [Modifiers](https://d3codex.com/access/modifiers/)
- [Options (Access Query Language)](https://d3codex.com/access/options-access-query-language/)
- [Selection criteria](https://d3codex.com/access/selection-criteria/)
- [u508e user exit](https://d3codex.com/access/u508e-user-exit/)

---
Source: https://d3codex.com/access/list-item-command-access-query-language/ - part of the D3Codex reference.
