| Tag Link | [Sort_FieldItem] | Category | Results |
|---|---|---|---|
| Type | Substitution | Source Available | No |
| Support | Preferred | Version | 5.0 |
| Change | Unchanged | Data Source | Any |
| Output Type | String | Security | None |
| Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
| Lasso 3 Equivalent | [SortFieldItem] | ||
When used within the [Sort_Arguments] ... [/Sort_Arguments] container tags, [Sort_FieldItem] displays the name of one sort argument.
[Sort_Arguments]
[Sort_FieldItem]
[/Sort_Arguments]
| Optional Parameters | |
|---|---|
| Encoding Keyword | Specifies the encoding for the tag's return value. Tags are encoded using |
To display the fields used to sort the current database action:
Use the [Sort_Arguments] ... [/Sort_Arguments] tags with enclosed [Sort_FieldItem] and [Sort_OrderItem] tags. The following example shows the results from a search that is sorted by Last_Name and First_Name in ascending order.
[Sort_Arguments]
<br>[Sort_FieldItem] [Sort_OrderItem]
[/Sort_Arguments]
<br>Last_Name ascending
<br>First_Name ascending