If no main source is defined, the function returns 0.
If the view is preloaded, the function will return the number of records of the entire view.
Until version 3.3, if the Preload View property was set to False, the function returned 0.
As of version 3.3, in the following cases, the number of records in the range is known so when evaluating the function, there will not be access to the database:
When the Preload View property is set to False, the function will return 0 for Local, ISAM and Space databases, and when a Direct SQL, a Magic Range expression or a range on a variable from a link is used (since these ranges are done on the client after fetching the records from the database and the function does not fetch the records themselves).
|