[ResultSet] ... [/ResultSet] returns one of the result sets generated by an inline. This tag accepts a single parameter which determines which result set from the inline should be returned. The number of results generated by an inline can be determined with [ResultSet_Count]. This tag can be called directly within [Inline] ... [/Inline] tags or can be called with an -InlineName parameter to return one of the result sets generated by a named inline.
Within the tag any of the tags that return results from an inline can be used including [Records] ... [/Records], [Records_Array], [Field], [Found_Count], [Shown_Count], etc.
[Inline: -Database='Contacts', -SQL='SELECT * FROM People; SELECT * FROM Company;']
[ResultSet: 1]
[Records_Array]
[/ResultSet]
[ResultSet: 2]
[Records]
[Field: 'Name']
[/Records]
[/ResultSet]
[/Inline]
[Inline: -Database='Contacts', -SQL='SELECT * FROM People; SELECT * FROM Company;', -InlineName='mySearch]
[/Inline]
[Loop: (ResultSet_Count: -InlineName='mySearch')]
[ResultSet: Loop_Count, -InlineName='mySearch']
Found [Found_Count] Records in Result Set [Loop_Count].
[/ResultSet]
[/Loop]
See the Lasso 8 Language Guide for examples of how to use this tag.
Tag Link | [ResultSet] ... [/ResultSet] | Category | Results |
---|---|---|---|
Type | Container | Data Source | Any |
Support | Preferred | Version | 8.5 |
Output Type | None | Security | None |
Implementation | Sets | Lasso 8.5 |
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