[MaxRecords_Value] returns the value for the -MaxRecords command tag for the current database action. The default return value is 50 if no -MaxRecords paramater was specified.
This tag can be used within the [Inline] ... [/Inline] tags that perform a database action or in a format file which is the response to an HTML form or URL that performs a database action. This tag cannot be used within [Records] ... [/Records] tags that reference a named inline.
If -MaxRecords=All was specified in the database action then this tag will return -1 as its value.
[MaxRecords_Value]
Use the [MaxRecords_Value] tag. The following [Inline] ... [/Inline] tags perform a search in the People table of the Contacts database for all records and returns the value for the -MaxRecords parameter.
[Inline: -FindAll,
-Database='Contacts',
-Table='People',
-KeyField='ID',
-MaxRecords=5]
<br>At most [MaxRecords_Value] records are displayed.
[/Inline]
<br>At most 5 records are displayed.
Tag Link | [MaxRecords_Value] | Category | Results |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 2.5 |
Output Type | Integer | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25 |
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