Jet Reports Homepage |  Community Forum |  Downloads |  Submit A Ticket |  Jet Express Support

Limiting the Number of Records in a Query

You can place a limit on the number of records that NL will return by entering "Limit=" in one of the FilterField parameters and entering a maximum number in the corresponding Filter parameter.

=NL("Table","Customer",{"Name","Sales ($)"},"-Sales ($)","*","Limit=",10)


With Northwind, the following example will print the OrderIDs of the ten largest orders.

=NL("Rows","Order Subtotals","OrderID","-Subtotal","*","Limit=",10)

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request