Retrieve the SQL result set as a DataList, the first time from the database and subsequently from memory. The SQL statement is used as the key to identify the result set. Note that the return value is a pointer to a DataList, so if different code will be using the DataList result concurrently (eg. for iteration), a clone should be made before commencing any non-read operations.
The DbConnect object, or if omitted use the default dbConnect (a DAO connection to the local database)
The SQL to retrieve from the database.
(no description)
(no description)
(no description)
Dim cache as New xf_SQLCache Dim lst as xf_DataList set lst = cache.CacheSqlAsDataList