![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Aggregate functions > List function |
|
|
| List function |
| Format |
List(field{;field...}) |
| Parameter |
| field - any related field, repeating field, or set of non-repeating fields; or an expression that returns a field, repeating field, or set of non-repeating fields. |
| Parameters in curly braces { } are optional. |
| Data type returned |
| text |
| Description |
| Returns a concatenated list of non-blank values (separated by carriage returns) for either: |
| a single field (table::field), calculates a single result over all repetitions (if any) for this field and over all matching related records, whether or not these records appear in a portal. |
| Examples |
| In the following examples: |
| Field1 contains white. |
| Field2 contains black. |
| Field3 contains three repetitions with values of red, green, blue. |
| Related::Field4 refers to three records that contain 100, 200, 300. |
| Example 1 |
| List (Field1; Field2) returns: |
| white |
| black |
| Example 2 |
| List(Field3) returns: |
| red |
| green |
| blue |
| Example 3 |
| List (Field1; Field2; Field3) returns: |
| in calculation repetition 1: |
| white |
| black |
| red |
| in calculation repetition 2: |
| green |
| in calculation repetition 3: |
| blue |
| Example 4 |
| List(Related::Field4) returns: |
| 100 |
| 200 |
| 300 |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Aggregate functions > List function | Next Page |