[Records] ... [/Records] loops through each record in a found set. Synonym is [Rows] ... [/Rows].
Optional -InlineName parameter specifies that results should be returned from a named inline. However, in Lasso 8.5 and later it is preferred to use the [ResultSet] ... [/ResultSet] tags to access the results of a named inline.
[Records]
... [Field: 'Field_Name'] ...
[/Records]
[Inline: ...]
[Records]
... [Field: 'Field_Name'] ...
[/Records]
[/Inline]
[ResultSet: -InlineName='Inline_Name']
[Records]
... [Field: 'Field_Name'] ...
[/Records]
[/ResultSet]
[Records: -InlineName='Inline_Name']
... [Field: 'Field_Name'] ...
[/Records]
Use the [Records] ... [/Records] tags. The following example finds all records in the People table of the Contacts database and formats the result.
[Inline: -FindAll,
-Database='Contacts',
-Table='People']
[Records]
<br>[Field: 'First_Name'] [Field: 'Last_Name']
[/Records]
[/Inline]
<br>John Doe
<br>Jane Doe
<br>John Surname
<br>Mary Peoples
Tag Link | [Records] ... [/Records] | Category | Database |
---|---|---|---|
Type | Container | Data Source | Any |
Support | Preferred | Version | 3.0 |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft