LassoScript Utility
Basics Browse Detail

[ResultSet_Count]

Tag Link [ResultSet_Count] Category Results
Type Substitution Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type Integer Security None
Implementation Sets Lasso 8.5

Description

[ResultSet_Count] returns the number of result sets generated by an inline. This tag can be called directly within [Inline] ... [/Inline] tags or can be called with an -InlineName parameter to return the number of results generated by a named inline.

Syntax

[Inline: -Database='Contacts', -SQL='SELECT * FROM People; SELECT * FROM Company;']
[ResultSet_Count]
[/Inline]

[Inline: -Database='Contacts', -SQL='SELECT * FROM People; SELECT * FROM Company;', -InlineName='mySearch]
[/Inline]
[ResultSet_Count: -InlineName='mySearch']

Parameters

Optional Parameters
-InlineName Specifies what inline name the count should be returned for. Defaults to returning information about the surrounding inline.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.