[TOC] [Prev] [Next] [Bottom]



<@MAXROWS>

Description

Returns the value specified in the Maximum Matches field for the current Search or Direct DBMS action. If No Maximum was specified, <@MAXROWS> returns "0". This meta tag may be used only in a Search or Direct DBMS action.

This meta tag is especially useful when you specify a meta tag as the Maximum Matches value for a search action (allowing a form field or search argument value to determine, at execution time, the maximum number of matches to return).

Example

<@IFEQUAL VALUE1="<@MAXROWS>" VALUE2="0">
Here are the matching records:

<@ELSE>
Here are the <@MAXROWS> matching records:
</@IF>
<@ROWS>
...
</@ROWS>

This example indicates to you the maximum number of matches that are displayed.

See Also

<@NUMROWS>
<@STARTROW>
<@TOTALROWS>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.