Lasso Soft Inc. > Home

[Shown_First]

[Shown_First] returns the number of the first record shown from the found set. Usually the same value as [SkipRecords_Value].

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.

  • Syntax
  • Parameters
[Shown_First]
Examples

To return the number of the first record found by a database search:

Use the [Shown_First] tag. The following [Inline] ... [/Inline] tags perform a search in the People table of the Contacts database for all records and returns the index of the first record found.

[Inline: -FindAll,
    -Database='Contacts',
    -Table='People',
    -KeyField='ID',
    -MaxRecords=5]
  <br>Showing  records from [Shown_First] to [Shown_Last].
[/Inline]
Result:
<br>Showing records from 1 to 5.
Tag Link [Shown_First] Category Results
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type Integer Security None
Implementation LCAPI Sets 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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft