TopNumberOfRows Property
Version: Available or changed with runtime version 1.0.
Specifies the maximum number of rows to include in the resulting data set of a query.
Applies to
- Query
Property Value
An integer that specifies the maximum number of rows to include in the resulting dataset.
Note
A value of 0 is the same as leaving the property blank. If you set the value to 0, then there is no limit and all rows of the dataset are returned.
Syntax
TopNumberOfRows = 10;
Remarks
You use the TopNumberOfRows property to limit the resulting dataset to the first set of rows that are generated for the query. For example, you can include only the first 10 or first 100 rows in the resulting dataset. The TopNumberOfRows property is useful for key performance indicators such as the top number of customers or sales.
You can also specify the number of rows to include in the dataset by calling the TopNumberOfRows Method from AL. The TopNumberOfRows method will overwrite the TopNumberOfRows property setting.
See Also
Query Object
Linking and Joining Data Items
Aggregating Data in Query Objects
Filtering Data in Query Objects
Properties
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour