> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/parametrage/editer-imprimer/modeles-dedition-avancees/balise-range.md).

# Balise : \[RANGE]

La balise <% \*LIGNE DE, RANGE=\<i>;\<n>+ \<champ> / \<formulaire> %> permet d’extraire et d’afficher n lignes d’un tableau, en commençant à partir de la ligne i.

Remarque importante : Le séparateur entre i et n est un point-virgule (;) et non une virgule, car la virgule est déjà utilisée pour séparer les options dans les balises.

***Exemple** : <% \*LIGNE DE, RANGE=7;3+ Article / Ligne de facture %> pour avoir les 3 articles des lignes de facture en partant de la 7e ligne de facture.*

<figure><img src="/files/2In7jX86v5swxV9VLCtj" alt=""><figcaption></figcaption></figure>

Facture à imprimer contenant 12 lignes d'articles facturés :

<figure><img src="/files/lXd7UBOxN2gouiUjnjCH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/LV0AQ7GNJTkI2fpGbQbv" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.simax.fr/parametrage/editer-imprimer/modeles-dedition-avancees/balise-range.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
