Open topic with navigation

# MaxResults

The maximum number of results to return for this query.

Actions: | Query
Type: | Long
Default: | Defaults to MaxResults configuration parameter
Example: | `MaxResults=12`
See Also: | DAHEndState DAHStartState Start MaxResults configuration parameter

## Batch queries

You can use the `MaxResults` parameter with the Start parameter to display the `MaxResults` only from the Start position onwards. The Start value must be smaller than the `MaxResults` value because if the position it specifies does not fall within the generated range of results, no results return for the query, even though results might be available.

For example:

    MaxResults=6
    Start=6

In this example, if a total of 10 results is available for the query, only the 6the result is returned for the query.

    MaxResults=100
    Start=6

In this example, if a total of 10 results is available for the query, the results 6 to 10 (inclusive) are returned for the query.

    MaxResults=5
    Start=6

In this example, no results are returned for the query (even if results are available).

You must also use this parameter in conjunction with DAHStartState and DAHEndState if the value of DAHStartState exceeds the default value or the value of the MaxResults `[Server]` configuration parameter; the value must be greater than the sum of DAHStartState values.

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm