The connection to the database would be required either way to fill the MD array.
However, the speed increase comes from looping through your data. Moving to the next row in a recordset involves database access and is therefore relatively slow. Looping through a disconnected recordset in an array stored in the memory will be like a greased whippet falling down a waterpark slide in comparison.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.