Lasso Soft Inc. > Home

[WAP_MaxRows]

[WAP_MaxRows] returns the number of text lines in the screen of the current client's WAP browser.

This information is reported by the WAP browser. Not all browsers may supply this information.

  • Syntax
  • Parameters
[WAP_MaxRows]
Examples

To display as many records as will fit in a WAP browser:

Use the [WAP_MaxRows] tag to determine how many records can be shown on a WAP browser's screen. The following code uses this tag in [Inline] ... [/Inline] tags with a -FindAll action. The WAP Browser can display 4 lines so 4 records are shown.

[Inline: -FindAll,
    -Database='Contacts',
    -Table='People',
    -MaxRecords=(WAP_MaxRows)]
  [Records]
    <br>[Field: 'First_Name'] [Field: 'Last_Name']
  [/Records]
[/Inline]
Result:
<br>John Doe
<br>Jane Doe
<br>Bob Surname
<br>Jane Surname
Tag Link [WAP_MaxRows] Category Client
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type Integer Security None
Implementation LDML Sets Lasso 6.0, Lasso 5.0

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