Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| cold:reference:coldfldformat:getinlist [2015/11/04 08:43] – créée florian | cold:reference:coldfldformat:getinlist [2023/03/17 09:56] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 17: | Ligne 17: | ||
| ====== Description ====== | ====== Description ====== | ||
| - | **@getinlist** | + | **@getinlist** |
| {{wiki: | {{wiki: | ||
| Ligne 23: | Ligne 23: | ||
| ====== Exemple ====== | ====== Exemple ====== | ||
| - | ^ Table ^ fournisseur | + | ^ / ^ /^ |
| + | |Table | fournisseur| | ||
| | Champ de recherche | FOURNISSEUR_SIREN | | | Champ de recherche | FOURNISSEUR_SIREN | | ||
| | Champ à retourner | FOURNISSEUR_NOM | | | Champ à retourner | FOURNISSEUR_NOM | | ||
| - | | + | Sur notre table fournisseur nous avons les enregistrements suivants |
| + | |||
| + | ^ FOURNISSEUR_ID ^ FOURNISSEUR_SIREN ^ FOURNISSEUR_NOM ^ | ||
| + | | 1 | 515180115 | EzDEV | | ||
| + | | 2 | 511826018 | Soludoc2f | | ||
| + | |||
| + | Supposons que nous avons un champ d' | ||
| + | Dans le champ post formatage nous saisissons la macro suivante: | ||
| + | @getinlist(' | ||
| + | |||
| + | Une traduction intermédiaire opérée par la ged serait | ||
| + | | ||
| + | |||
| + | Et la valeur retournée sera finalement : | ||
| + | EzDEV | ||