That alone is certainly not enough. Keyword lazy loading: Often only the first records are displayed, while later records are still being calculated.Opened a query
To ensure that ALL records have been recorded, you have to go to the end of the recordset.
You can add your tests with measurements to the database provided by Josef and show them here.
That confuses me, although I can see really relevant differences in the database provided when I do another test.The functions were not called by calling rs.movelast.
I am/was of the opinion that in a query, a function involved is called and executed record by record if a variable argument from the record is passed to the function, thus making it clear that it is not a constant expression that would then only really be executed once.
Last edited: