Retrieves the number of records in the current data view.
Syntax:
DbViewSize(generation)
Parameters:
generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.
Returns:
A numeric value that represents the number of cached records.
Note:
If no main source is defined, the function returns 0.
If the Preload View property is set to No, the function returns 0. (Since version: 1.9)
If the view is preloaded, the function will return the number of records of the entire view.