[Found_Count] returns the total number of records found by a Lasso query.
Note: The maximum number of records that is shown by Lasso on each page is set by the -MaxRecords tag. [Shown_Count] returns the number of records shown per page, whereas [Found_Count] returns the total number of records found by the query.
This method can be used within the [Inline] ... [/Inline] methods that perform a database action or on a format file which is the response to an HTML form or URL that performs a database action. This method cannot be used within [Records] ... [/Records] method that reference a named inline.
Use the [Found_Count] method. The following [Inline] ... [/Inline] method performs a search in the People table of the Contacts database for all records and return how many records were found.
Inline(-FindAll, -Database='Contacts', -Table='People', -KeyField='ID') Found_Count+' records were found.' /Inline
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