Tag Link | [Inline] ... | Category | Utility |
---|---|---|---|
Type | Container | Source Available | No |
Support | Preferred | Version | 2.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5, Lasso 2.0 |
The [Inline] ... [/Inline] tags are used to perform a Lasso action within a format file. [Inline] ... [/Inline] tags allow multiple database actions to be performed within a single format file or for authentication information to be specified for a portion of page.
The opening [Inline] tag accepts multiple command tags and name/value pairs as parameters. The action defined by the command tags (if any) is performed and the results of the action are available within the [Inline] ... [/Inline] tags.
The opening [Inline] tag will accept array parameters. Each array parameter should contain only pairs. The pairs are inserted into the array as if they were specified starting at the location of the array parameter. The [Action_Params] array is often passed as a parameter to an [Inline].
The opening [Inline] tag accepts a single optional keyword/value parameter
The
The [Inline] ... [/Inline] tags function almost as delimiters around a separate format file. The error is reset upon entering an inline. Tokens from the surrounding format file are not available.
If the
[Inline: Command Tags and Name/Value Pairs]
...
[/Inline]
[Inline:
Command Tags and Name/Value Pairs]
...
[/Inline]
[Inline:
...
[/Inline]
[Inline: (Action_Params),
Command Tags and Name/Value Pairs
...
[/Inline]
[Inline:
...
[/Inline]
Required Parameters | |
---|---|
Command Tags and Name/Value Pairs | The Inline tag accepts command tags and name/value parameters to define any Lasso action. |
Optional Parameters | |
-InlineName | The name for the results set of the inline. The results can be retrieved by passing the same name to the opening [Records] ... [/Records] tag. |
-StatementOnly | Instructs Lasso to generate the action statement for the specified database action, but not to perform it. [Action_Statement] can be used to retrieve the generated SQL statement. |
-Timeout | For MySQL databases, the maximum time to wait in seconds for the query to execute. |
The
The
To perform a search within a format file:
Use the [Inline] ... [/Inline] tags. The following example finds all records in the People table of the Contacts database and formats the result.
[Inline:
[Records]
<br>[Field: 'First_Name'] [Field: 'Last_Name']
[/Records]
[/Inline]
<br>John Doe
<br>Jane Doe
<br>John Surname
<br>Mary Peoples